diff options
author | Kim, Milo <[email protected]> | 2013-02-21 16:44:07 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2013-02-21 17:22:25 -0800 |
commit | 9e9cdc89695d04359e2d67521199156549c12eb4 (patch) | |
tree | ef138967a9b80c34f6c3c73ad194250bfa9520a8 /lib/memory-notifier-error-inject.c | |
parent | 26e8ccc223ebfd2047a96074f142544dc7062cfe (diff) |
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 <[email protected]>
Acked-by: Jingoo Han <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions