summaryrefslogtreecommitdiffstats
path: root/drivers/leds/leds-lp55xx-common.c
diff options
context:
space:
mode:
authorMilo(Woogyom) Kim <milo.kim@ti.com>2013-02-05 19:18:51 +0900
committerBryan Wu <cooloney@gmail.com>2013-02-06 15:59:29 -0800
commitdb6eaf8388a413a5ee1b4547ce78506b9c6456b0 (patch)
tree238aae833d0a52e4723c8cc71fccfa5ea68a2af5 /drivers/leds/leds-lp55xx-common.c
parent9ce7cb170f97f83a78dc948bf7d25690f15e1328 (diff)
downloadtalos-obmc-linux-db6eaf8388a413a5ee1b4547ce78506b9c6456b0.tar.gz
talos-obmc-linux-db6eaf8388a413a5ee1b4547ce78506b9c6456b0.zip
leds-lp5523: use generic firmware interface
LP55xx common driver provides generic firmware interface for running a LED pattern. LP5521 and LP5523 have many device attributes for running patterns. This patch cleans up those complex code. Removed device attributes: engine1_mode engine2_mode engine3_mode engine1_load engine2_load engine3_load engine1_leds engine2_leds engine3_leds All device attributes and functions are replaced with two callback functions, 'firmware_cb' and 'run_engine'. New engine functions: lp5523_load/stop/run_engine(), lp5523_update_program_memory() and lp5523_wait_opmode_done() 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
OpenPOWER on IntegriCloud