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:
@@ -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,
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user