diff options
author | Milo(Woogyom) Kim <milo.kim@ti.com> | 2013-02-05 10:09:32 (GMT) |
---|---|---|
committer | Bryan Wu <cooloney@gmail.com> | 2013-02-06 23:59:28 (GMT) |
commit | a96bfa135ddc8045166fc6311ce4d21bfcb8d13d (patch) | |
tree | 405bc5264b0b09af0d77db11cdae2923279db188 /block/blk-softirq.c | |
parent | a6e4679a09a0a2bcfa63074272fc9fb2a40f11ad (diff) | |
download | linux-fsl-qoriq-a96bfa135ddc8045166fc6311ce4d21bfcb8d13d.tar.xz |
leds-lp55xx: provide common LED current setting
LED current is configurable via the sysfs.
Max current is a read-only attribute.
These attributes code can be shared in lp55xx common driver.
Device attributes: 'led_current' and 'max_current'
move to lp55xx common driver
Replaced functions:
show_max_current() => lp55xx_show_max_current()
show_current() => lp55xx_show_current()
store_current() => lp55xx_store_current()
LED setting function: set_led_current()
Current registers are device specific, so configurable function is added
in each driver.
Signed-off-by: Milo(Woogyom) Kim <milo.kim@ti.com>
Signed-off-by: Bryan Wu <cooloney@gmail.com>
Diffstat (limited to 'block/blk-softirq.c')
0 files changed, 0 insertions, 0 deletions