summaryrefslogtreecommitdiffstats
path: root/drivers/leds/leds-lp55xx-common.c
diff options
context:
space:
mode:
authorMilo(Woogyom) Kim <milo.kim@ti.com>2013-02-05 18:04:50 +0900
committerBryan Wu <cooloney@gmail.com>2013-02-06 15:59:27 -0800
commit632418bf65503405df3f9a6a1616f5a95f91db85 (patch)
tree15399857e1908e6e92abebc1ab58565b58c02e30 /drivers/leds/leds-lp55xx-common.c
parent9448217403462c4b17bc56690a0348a0c02e5ba2 (diff)
leds-lp5523: clean up lp5523_configure()
This patch is a preceding step for making common lp55xx init function. Return code: Do not use 'OR' arithmetic for the result. If some error occurs, just return it. Remove engine verification code: To check whether internal engine works or not, many lines of code are executed. However, this job is unnecessary during the chip initialization because the engine usage is not mandatory but optional function. LED engines are enabled when specific LED pattern is loaded. Therefore, this verification code is removed. Signed-off-by: Milo(Woogyom) Kim <milo.kim@ti.com> Signed-off-by: Bryan Wu <cooloney@gmail.com>
Diffstat (limited to 'drivers/leds/leds-lp55xx-common.c')
0 files changed, 0 insertions, 0 deletions