From: Kim, Milo Date: Fri, 22 Feb 2013 00:44:07 +0000 (-0800) Subject: backlight: lp855x_bl: simplify bl_get_brightness() X-Git-Tag: v3.9-rc1~114^2~55 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9e9cdc89695d04359e2d67521199156549c12eb4;p=pandora-kernel.git 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 Acked-by: Jingoo Han Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed