diff options
author | Milo(Woogyom) Kim <milo.kim@ti.com> | 2013-02-05 11:18:10 +0100 |
---|---|---|
committer | Bryan Wu <cooloney@gmail.com> | 2013-02-07 00:59:29 +0100 |
commit | 9ce7cb170f97f83a78dc948bf7d25690f15e1328 (patch) | |
tree | 3c575cd93f9d09c7f7b6fc93a5336e3f59cba2c2 /drivers/leds/leds-ss4200.c | |
parent | leds-lp55xx: support firmware interface (diff) | |
download | linux-9ce7cb170f97f83a78dc948bf7d25690f15e1328.tar.xz linux-9ce7cb170f97f83a78dc948bf7d25690f15e1328.zip |
leds-lp5521: 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
led_pattern
All device attributes and functions are replaced with two callback functions,
'firmware_cb' and 'run_engine'.
New engine functions:
lp5521_load/stop/run_engine(), lp5521_update_program_memory() and
lp5521_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-ss4200.c')
0 files changed, 0 insertions, 0 deletions