]> git.karo-electronics.de Git - karo-tx-linux.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>
Thu, 23 Aug 2012 02:12:49 +0000 (10:12 +0800)
commitf7042de9274db475bc23c3c91971e5558d8ae14d
treea399a31b93da53f7400a5428c59f2d4de3d8a069
parente5d1153a5e3aa6c8ce31436e81325c1b3c09ea18
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