summaryrefslogtreecommitdiffstats
path: root/drivers/leds/leds-net48xx.c
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@rpsys.net>2007-10-31 15:00:07 +0100
committerRichard Purdie <rpurdie@rpsys.net>2008-02-07 09:47:00 +0000
commit6c152beefbf90579d21afc4f7e075b1f801f9a75 (patch)
treec5814496de9e29662d558deddb31e0a0c4549cd7 /drivers/leds/leds-net48xx.c
parentcec035de8265b18252742ef359b12e9694641112 (diff)
downloadop-kernel-dev-6c152beefbf90579d21afc4f7e075b1f801f9a75.zip
op-kernel-dev-6c152beefbf90579d21afc4f7e075b1f801f9a75.tar.gz
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/leds/leds-net48xx.c')
-rw-r--r--drivers/leds/leds-net48xx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/leds/leds-net48xx.c b/drivers/leds/leds-net48xx.c
index 45ba3d4..0543604 100644
--- a/drivers/leds/leds-net48xx.c
+++ b/drivers/leds/leds-net48xx.c
@@ -31,7 +31,7 @@ static void net48xx_error_led_set(struct led_classdev *led_cdev,
}
static struct led_classdev net48xx_error_led = {
- .name = "net48xx:error",
+ .name = "net48xx::error",
.brightness_set = net48xx_error_led_set,
};
OpenPOWER on IntegriCloud