projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
96ce238
)
[ARM] 3563/1: LED: Set the LOCOMO LED driver default triggers
author
Richard Purdie
<rpurdie@rpsys.net>
Mon, 19 Jun 2006 12:08:39 +0000
(13:08 +0100)
committer
Russell King
<rmk+kernel@arm.linux.org.uk>
Mon, 19 Jun 2006 12:08:39 +0000
(13:08 +0100)
Patch from Richard Purdie
Set the default triggers for the LOCOMO LED driver.
Signed-off-by: Richard Purdie <rpurdie@rpsys.net>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/leds/leds-locomo.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/leds/leds-locomo.c
b/drivers/leds/leds-locomo.c
index 749a86c2adb6504bcc13ab87f34654f939f326df..8419e29b71f4462ca4b4b6d580882143a6958991 100644
(file)
--- a/
drivers/leds/leds-locomo.c
+++ b/
drivers/leds/leds-locomo.c
@@
-45,11
+45,13
@@
static void locomoled_brightness_set1(struct led_classdev *led_cdev,
static struct led_classdev locomo_led0 = {
.name = "locomo:amber",
+ .default_trigger = "sharpsl-charge",
.brightness_set = locomoled_brightness_set0,
};
static struct led_classdev locomo_led1 = {
.name = "locomo:green",
+ .default_trigger = "nand-disk",
.brightness_set = locomoled_brightness_set1,
};