diff options
author | Jingoo Han <jg1.han@samsung.com> | 2013-02-21 16:43:25 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-02-21 17:22:22 -0800 |
commit | b6bef463f5e42e959c46773806693c3277179bc4 (patch) | |
tree | 0652a06f93b26c94f380c1413ca2fbccb01ee235 /drivers/regulator/wm8350-regulator.c | |
parent | 81c650e3accca9ca20232e96058aa759ceae06a5 (diff) |
backlight: s6e63m0: remove redundant variable 'before_power'
'before_power' was used to check the previous status when resume() is
called. However, FB_BLANK_POWERDOWN was used in suspend() all the time,
so there is no need to check the previous status. Also, redundant return
variables are removed to reduce the code.
Signed-off-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 'drivers/regulator/wm8350-regulator.c')
0 files changed, 0 insertions, 0 deletions