summaryrefslogtreecommitdiffstats
path: root/drivers/leds/led-triggers.c
diff options
context:
space:
mode:
authorKim, Milo <Milo.Kim@ti.com>2012-08-21 17:04:02 +0800
committerBryan Wu <bryan.wu@canonical.com>2012-09-11 18:32:41 +0800
commit469eba023087d8fa3974827e6bedf874a620d0e7 (patch)
treebf9ba0ac2ef5acb2e8be0d3f8dbc5b2245ce6d7d /drivers/leds/led-triggers.c
parent6f6365fbac2d6bcf6867c633d3ec33af08b5b219 (diff)
downloadblackbird-obmc-linux-469eba023087d8fa3974827e6bedf874a620d0e7.tar.gz
blackbird-obmc-linux-469eba023087d8fa3974827e6bedf874a620d0e7.zip
leds-lp5523: minor code style fixes
(a) use LP5523_ENABLE rather than magic number 0x40 (b) use min_t() in lp5523_mux_parse() (c) skip while loop and just return if invalid command Signed-off-by: Milo(Woogyom) Kim <milo.kim@ti.com> Signed-off-by: Bryan Wu <bryan.wu@canonical.com>
Diffstat (limited to 'drivers/leds/led-triggers.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud