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>
This commit is contained in:
Richard Purdie
2007-10-31 15:00:07 +01:00
parent cec035de82
commit 6c152beefb
16 changed files with 41 additions and 38 deletions

View File

@@ -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,
};