diff options
author | Richard Purdie <rpurdie@rpsys.net> | 2007-10-31 10:00:07 -0400 |
---|---|---|
committer | Richard Purdie <rpurdie@rpsys.net> | 2008-02-07 04:47:00 -0500 |
commit | 6c152beefbf90579d21afc4f7e075b1f801f9a75 (patch) | |
tree | c5814496de9e29662d558deddb31e0a0c4549cd7 /arch/arm/mach-ixp4xx/nas100d-setup.c | |
parent | cec035de8265b18252742ef359b12e9694641112 (diff) |
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 'arch/arm/mach-ixp4xx/nas100d-setup.c')
-rw-r--r-- | arch/arm/mach-ixp4xx/nas100d-setup.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/mach-ixp4xx/nas100d-setup.c b/arch/arm/mach-ixp4xx/nas100d-setup.c index 4cecae84837b..159e1c4f1eda 100644 --- a/arch/arm/mach-ixp4xx/nas100d-setup.c +++ b/arch/arm/mach-ixp4xx/nas100d-setup.c | |||
@@ -60,17 +60,17 @@ static struct i2c_board_info __initdata nas100d_i2c_board_info [] = { | |||
60 | 60 | ||
61 | static struct gpio_led nas100d_led_pins[] = { | 61 | static struct gpio_led nas100d_led_pins[] = { |
62 | { | 62 | { |
63 | .name = "wlan", /* green led */ | 63 | .name = "nas100d:green:wlan", |
64 | .gpio = NAS100D_LED_WLAN_GPIO, | 64 | .gpio = NAS100D_LED_WLAN_GPIO, |
65 | .active_low = true, | 65 | .active_low = true, |
66 | }, | 66 | }, |
67 | { | 67 | { |
68 | .name = "power", /* blue power led (off=flashing) */ | 68 | .name = "nas100d:blue:power", /* (off=flashing) */ |
69 | .gpio = NAS100D_LED_PWR_GPIO, | 69 | .gpio = NAS100D_LED_PWR_GPIO, |
70 | .active_low = true, | 70 | .active_low = true, |
71 | }, | 71 | }, |
72 | { | 72 | { |
73 | .name = "disk", /* yellow led */ | 73 | .name = "nas100d:yellow:disk", |
74 | .gpio = NAS100D_LED_DISK_GPIO, | 74 | .gpio = NAS100D_LED_DISK_GPIO, |
75 | .active_low = true, | 75 | .active_low = true, |
76 | }, | 76 | }, |