summaryrefslogtreecommitdiffstats
path: root/arch/parisc
diff options
context:
space:
mode:
authorKim, Milo <Milo.Kim@ti.com>2013-02-22 01:44:07 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2013-02-22 02:22:25 +0100
commit9e9cdc89695d04359e2d67521199156549c12eb4 (patch)
treeef138967a9b80c34f6c3c73ad194250bfa9520a8 /arch/parisc
parentbacklight: lp855x_bl: support new LP8557 device (diff)
downloadlinux-9e9cdc89695d04359e2d67521199156549c12eb4.tar.xz
linux-9e9cdc89695d04359e2d67521199156549c12eb4.zip
backlight: lp855x_bl: simplify bl_get_brightness()
Getting the brightness value is not critical, no need to read the actual register value. To simplify it, just return the 'bl->props.brightness' value. Then, lp855x_read_byte() can be removed, not used any more. Signed-off-by: Milo(Woogyom) Kim <milo.kim@ti.com> Acked-by: Jingoo Han <jg1.han@samsung.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/parisc')
0 files changed, 0 insertions, 0 deletions