summaryrefslogtreecommitdiffstats
path: root/fs/readdir.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2012-12-20 01:59:43 +0100
committerBryan Wu <cooloney@gmail.com>2013-02-02 02:47:06 +0100
commit5e3b7c6b1cb1a579a65fa77c7f785d94013025be (patch)
treec8a910b1bb7c67eb1b9b5dbea84fd3682f504516 /fs/readdir.c
parentleds-lp8788: fix a parent device in _probe() (diff)
downloadlinux-5e3b7c6b1cb1a579a65fa77c7f785d94013025be.tar.xz
linux-5e3b7c6b1cb1a579a65fa77c7f785d94013025be.zip
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 <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>
Diffstat (limited to 'fs/readdir.c')
0 files changed, 0 insertions, 0 deletions