diff options
author | Milo(Woogyom) Kim <milo.kim@ti.com> | 2013-02-05 14:21:43 +0400 |
---|---|---|
committer | Bryan Wu <cooloney@gmail.com> | 2013-02-07 03:59:29 +0400 |
commit | 9ca3bd8022d76a0d1b386cedcecaf49004a58644 (patch) | |
tree | bc10df89bca5a34cf4b5410591e96188d80ef6df /drivers/watchdog/eurotechwdt.c | |
parent | e73c0ce6beaa71bee39b2d11bff0253be84c71a9 (diff) | |
download | linux-9ca3bd8022d76a0d1b386cedcecaf49004a58644.tar.xz |
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/watchdog/eurotechwdt.c')
0 files changed, 0 insertions, 0 deletions