mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
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 <[email protected]>
This commit is contained in:
parent
cec035de82
commit
6c152beefb
16 changed files with 41 additions and 38 deletions
|
|
@ -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, \
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue