]> git.baikalelectronics.ru Git - kernel.git/commit
leds-lp5523: change the return type of lp5523_set_mode()
authorKim, Milo <Milo.Kim@ti.com>
Tue, 21 Aug 2012 09:03:58 +0000 (17:03 +0800)
committerBryan Wu <bryan.wu@canonical.com>
Tue, 11 Sep 2012 10:32:41 +0000 (18:32 +0800)
commit2137e0c0aee75126f874103ef0e7457c89098d83
tree236524d4c11381a31850871bfb8aaa7ba95502b4
parentd03c6015e918676ad068086485b8969a939853a9
leds-lp5523: change the return type of lp5523_set_mode()

The return value of this function is not handled any place, so
make it as void type.

And three if-statements are replaced with switch-statements.

Signed-off-by: Milo(Woogyom) Kim <milo.kim@ti.com>
Signed-off-by: Bryan Wu <bryan.wu@canonical.com>
drivers/leds/leds-lp5523.c