summaryrefslogtreecommitdiffstats
path: root/drivers/leds/leds-lt3593.c
diff options
context:
space:
mode:
authorMilo(Woogyom) Kim2013-02-05 11:08:40 +0100
committerBryan Wu2013-02-07 00:59:28 +0100
commita6e4679a09a0a2bcfa63074272fc9fb2a40f11ad (patch)
tree53405497f05e27c0c69e008f9dfcce05b9e48b25 /drivers/leds/leds-lt3593.c
parentleds-lp55xx: use lp55xx_init_led() common function (diff)
downloadkernel-qcow2-linux-a6e4679a09a0a2bcfa63074272fc9fb2a40f11ad.tar.gz
kernel-qcow2-linux-a6e4679a09a0a2bcfa63074272fc9fb2a40f11ad.tar.xz
kernel-qcow2-linux-a6e4679a09a0a2bcfa63074272fc9fb2a40f11ad.zip
leds-lp55xx: use lp55xx_set_brightness()
lp5521_set_brightness() and lp5523_set_brightness() are replaced with common function, lp55xx_set_brightness(). This function is invoked when the brightness of each LED channel is updated. LP5521 and LP5523 have different register address for the brightness control, so this work is done by chip specific brightness_work_fn(). lp5521/5523_led_brightness_work(): use lp55xx_led and lp55xx_chip data structure. use lp55xx write function. Signed-off-by: Milo(Woogyom) Kim <milo.kim@ti.com> Signed-off-by: Bryan Wu <cooloney@gmail.com>
Diffstat (limited to 'drivers/leds/leds-lt3593.c')
0 files changed, 0 insertions, 0 deletions