diff options
| author | Axel Lin <[email protected]> | 2012-12-19 16:59:43 -0800 |
|---|---|---|
| committer | Bryan Wu <[email protected]> | 2013-02-01 17:47:06 -0800 |
| commit | 5e3b7c6b1cb1a579a65fa77c7f785d94013025be (patch) | |
| tree | c8a910b1bb7c67eb1b9b5dbea84fd3682f504516 /scripts/objdiff | |
| parent | a1932edf8baaf2b09ad72b119c1f9749ad4397f2 (diff) | |
leds: lm3530: Ensure drvdata->enable has correct status if regulator_disable fails
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 <[email protected]>
Acked-by: Shreshtha Kumar SAHU <[email protected]>
Acked-by: Milo Kim <[email protected]>
Tested-by: Milo Kim <[email protected]>
Signed-off-by: Bryan Wu <[email protected]>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions