summaryrefslogtreecommitdiff
path: root/include/linux/led-lm3530.h
diff options
context:
space:
mode:
authorKim, Milo <Milo.Kim@ti.com>2012-03-24 02:02:11 +0400
committerLinus Torvalds <torvalds@linux-foundation.org>2012-03-24 03:58:35 +0400
commitbbe6453204c568723679212f6d0653b92b3d6244 (patch)
treed4aac20b7d66d26186b52d35c5dd9dbb9f5e01ef /include/linux/led-lm3530.h
parent16db7f9095bf6bb394c9ddb64e738e64a0fea733 (diff)
downloadlinux-bbe6453204c568723679212f6d0653b92b3d6244.tar.xz
leds-lm3530: set the max_brightness to 127
Only 7 bits are used for updating the brightness. (register address : A0h) So the max_brightness property of lm3530 should be set to 127. On initializing registers, maximum initial brightness is limited to 'max_brightness'. Division-by-two is removed on updating the brightness. This arithmetic is not necessary because the range of brightness is 0 ~ 127= . Signed-off-by: Milo(Woogyom) Kim <milo.kim@ti.com> Cc: Linus Walleij <linus.walleij@linaro.org> Cc: Richard Purdie <rpurdie@rpsys.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/led-lm3530.h')
0 files changed, 0 insertions, 0 deletions