commit | 9ca3bd8022d76a0d1b386cedcecaf49004a58644 | [log] [tgz] |
---|---|---|
author | Milo(Woogyom) Kim <milo.kim@ti.com> | Tue Feb 05 19:21:43 2013 +0900 |
committer | Bryan Wu <cooloney@gmail.com> | Wed Feb 06 15:59:29 2013 -0800 |
tree | bc10df89bca5a34cf4b5410591e96188d80ef6df | |
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>