diff options
author | Milo(Woogyom) Kim <milo.kim@ti.com> | 2013-02-05 18:04:50 +0900 |
---|---|---|
committer | Bryan Wu <cooloney@gmail.com> | 2013-02-06 15:59:27 -0800 |
commit | 632418bf65503405df3f9a6a1616f5a95f91db85 (patch) | |
tree | 15399857e1908e6e92abebc1ab58565b58c02e30 /samples | |
parent | 9448217403462c4b17bc56690a0348a0c02e5ba2 (diff) | |
download | linux-stable-632418bf65503405df3f9a6a1616f5a95f91db85.tar.gz linux-stable-632418bf65503405df3f9a6a1616f5a95f91db85.tar.bz2 linux-stable-632418bf65503405df3f9a6a1616f5a95f91db85.zip |
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 'samples')
0 files changed, 0 insertions, 0 deletions