summaryrefslogtreecommitdiff
path: root/drivers/misc
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@rpsys.net>2007-10-31 14:00:07 (GMT)
committerRichard Purdie <rpurdie@rpsys.net>2008-02-07 09:47:00 (GMT)
commit6c152beefbf90579d21afc4f7e075b1f801f9a75 (patch)
treec5814496de9e29662d558deddb31e0a0c4549cd7 /drivers/misc
parentcec035de8265b18252742ef359b12e9694641112 (diff)
downloadlinux-6c152beefbf90579d21afc4f7e075b1f801f9a75.tar.xz
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 <rpurdie@rpsys.net>
Diffstat (limited to 'drivers/misc')
-rw-r--r--drivers/misc/asus-laptop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/misc/asus-laptop.c b/drivers/misc/asus-laptop.c
index 0846c33..3a36a29 100644
--- a/drivers/misc/asus-laptop.c
+++ b/drivers/misc/asus-laptop.c
@@ -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, \
}