diff options
author | Shreshtha Kumar Sahu <shreshthakumar.sahu@stericsson.com> | 2011-05-24 17:13:28 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-05-25 08:39:51 -0700 |
commit | 9b2da53f7627304cd4030cb4883908bfb1bce998 (patch) | |
tree | a76de46f2dd953d3d354a71c6dbf868fc58f3c7e /drivers/Makefile | |
parent | 402f758813f5b3c21de36e9f720aacc8972ca94e (diff) | |
download | linux-stable-9b2da53f7627304cd4030cb4883908bfb1bce998.tar.gz linux-stable-9b2da53f7627304cd4030cb4883908bfb1bce998.tar.bz2 linux-stable-9b2da53f7627304cd4030cb4883908bfb1bce998.zip |
drivers/leds/leds-lm3530.c: add regulator
Add add regulator support to lm3530 driver. The lm3530 driver needs to
get proper regulator during device probe and enable it before accessing
the device. Also it disables the regulator in case of brightness ==
LED_OFF, and puts it back during driver removal.
[akpm@linux-foundation.org: coding-style fixes]
Signed-off-by: Shreshtha Kumar Sahu <shreshthakumar.sahu@stericsson.com>
Cc: Lee Jones <lee.jones@linaro.org>
Cc: Shreshtha Kumar Sahu <shreshthakumar.sahu@stericsson.com>
Cc: Richard Purdie <rpurdie@rpsys.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/Makefile')
0 files changed, 0 insertions, 0 deletions