]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drivers/leds/leds-lm3530.c: simplify als configuration on initialization
authorKim, Milo <Milo.Kim@ti.com>
Thu, 3 May 2012 05:44:26 +0000 (15:44 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 3 May 2012 05:46:49 +0000 (15:46 +1000)
commit7f64df2605d93ae19b6a62fc5916fc267193f953
treef5139a3d3c5c51478d38187adb6bcf098023b63a
parent8b8029557a279266987ed741475338ca201d9870
drivers/leds/leds-lm3530.c: simplify als configuration on initialization

For better code readability, ALS code is moved to new a function -
lm3530_als_configure()

Signed-off-by: Milo(Woogyom) Kim <milo.kim@ti.com>
Acked-by: Linus Walleij <linus.walleij@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>
drivers/leds/leds-lm3530.c