diff options
author | Milo(Woogyom) Kim <milo.kim@ti.com> | 2013-02-05 11:07:34 +0100 |
---|---|---|
committer | Bryan Wu <cooloney@gmail.com> | 2013-02-07 00:59:28 +0100 |
commit | 0e2023463a3c9412728cb2c36c79aca0bb731cc8 (patch) | |
tree | d88e84842ab9b3fcca01e56da349f7c94e61ae0a /drivers/pnp/resource.c | |
parent | leds-lp55xx: use lp55xx common led registration function (diff) | |
download | linux-0e2023463a3c9412728cb2c36c79aca0bb731cc8.tar.xz linux-0e2023463a3c9412728cb2c36c79aca0bb731cc8.zip |
leds-lp55xx: use lp55xx_init_led() common function
lp5521_init_led() and lp5523_init_led() are replaced with one common function,
lp55xx_init_led().
Max channels is configurable, so it's used in lp55xx_init_led().
'LP5523_LEDS' are changed to 'LP5523_MAX_LEDS'.
lp55xx_set_brightness, lp55xx_led_attributes: skeleton
Will be filled in next patches.
Signed-off-by: Milo(Woogyom) Kim <milo.kim@ti.com>
Signed-off-by: Bryan Wu <cooloney@gmail.com>
Diffstat (limited to 'drivers/pnp/resource.c')
0 files changed, 0 insertions, 0 deletions