diff options
author | Milo(Woogyom) Kim <milo.kim@ti.com> | 2013-02-05 19:21:43 +0900 |
---|---|---|
committer | Bryan Wu <cooloney@gmail.com> | 2013-02-06 15:59:29 -0800 |
commit | 9ca3bd8022d76a0d1b386cedcecaf49004a58644 (patch) | |
tree | bc10df89bca5a34cf4b5410591e96188d80ef6df /drivers/leds/leds-max8997.c | |
parent | e73c0ce6beaa71bee39b2d11bff0253be84c71a9 (diff) |
leds-lp55xx: code refactoring on selftest function
LP5521 and LP5523 have a selftest function which is run via the sysfs.
Use lp55xx driver data and R/W functions rather than lp5521/5523 private data
and functions.
Additionally, if-statements are changed for code simplicity.
Unused functions, lp5521/5523_read() are removed.
Signed-off-by: Milo(Woogyom) Kim <milo.kim@ti.com>
Signed-off-by: Bryan Wu <cooloney@gmail.com>
Diffstat (limited to 'drivers/leds/leds-max8997.c')
0 files changed, 0 insertions, 0 deletions