leds: Standardise LED naming scheme

As discussed on LKML some notion of 'function' is needed in
LED naming. This patch adds this to the documentation and
standardises existing LED drivers.

Signed-off-by: Richard Purdie <[email protected]>
This commit is contained in:
Richard Purdie 2007-10-31 15:00:07 +01:00
commit 6c152beefb
16 changed files with 41 additions and 38 deletions

View file

@ -239,7 +239,7 @@ static struct workqueue_struct *led_workqueue;
static int object##_led_wk; \
static DECLARE_WORK(object##_led_work, object##_led_update); \
static struct led_classdev object##_led = { \
.name = "asus:" ledname, \
.name = "asus::" ledname, \
.brightness_set = object##_led_set, \
}