git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a1932ed
)
leds: lm3530: Ensure drvdata->enable has correct status if regulator_disable fails
author
Axel Lin
<axel.lin@ingics.com>
Thu, 20 Dec 2012 00:59:43 +0000
(16:59 -0800)
committer
Bryan Wu
<cooloney@gmail.com>
Sat, 2 Feb 2013 01:47:06 +0000
(17:47 -0800)
Add lm3530_led_enable() and lm3530_led_disable() helper functions.
This ensures setting drvdata->enable to correct status if regulator_disable
fails.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Shreshtha Kumar SAHU <shreshthakumar.sahu@stericsson.com>
Acked-by: Milo Kim <milo.kim@ti.com>
Tested-by: Milo Kim <milo.kim@ti.com>
Signed-off-by: Bryan Wu <cooloney@gmail.com>
drivers/leds/leds-lm3530.c
patch
|
blob
|
history
diff --cc
drivers/leds/leds-lm3530.c
Simple merge