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:
a59ce65
)
leds: leds-mc13783: Use LED core PM functions
author
Alexander Shiyan
<shc_work@mail.ru>
Sat, 1 Feb 2014 06:36:29 +0000
(22:36 -0800)
committer
Bryan Wu
<cooloney@gmail.com>
Thu, 27 Feb 2014 17:56:55 +0000
(09:56 -0800)
Signed-off-by: Bryan Wu <cooloney@gmail.com>
drivers/leds/leds-mc13783.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/leds/leds-mc13783.c
b/drivers/leds/leds-mc13783.c
index 68f2455c672f58e89a663910ba3cd616c3c90ca7..491309a9551c1b1b3fb0d9d79d26b23a3daf2a90 100644
(file)
--- a/
drivers/leds/leds-mc13783.c
+++ b/
drivers/leds/leds-mc13783.c
@@
-184,6
+184,7
@@
static int __init mc13xxx_led_probe(struct platform_device *pdev)
leds->led[i].leds = leds;
leds->led[i].cdev.name = name;
leds->led[i].cdev.default_trigger = trig;
+ leds->led[i].cdev.flags = LED_CORE_SUSPENDRESUME;
leds->led[i].cdev.brightness_set = mc13xxx_led_set;
leds->led[i].cdev.brightness = LED_OFF;