summaryrefslogtreecommitdiff
path: root/lib/argv_split.c
diff options
context:
space:
mode:
authorMilo(Woogyom) Kim <milo.kim@ti.com>2013-02-05 10:09:32 (GMT)
committerBryan Wu <cooloney@gmail.com>2013-02-06 23:59:28 (GMT)
commita96bfa135ddc8045166fc6311ce4d21bfcb8d13d (patch)
tree405bc5264b0b09af0d77db11cdae2923279db188 /lib/argv_split.c
parenta6e4679a09a0a2bcfa63074272fc9fb2a40f11ad (diff)
downloadlinux-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 'lib/argv_split.c')
0 files changed, 0 insertions, 0 deletions