backlight: s6e63m0: remove redundant variable 'before_power'
authorJingoo Han <jg1.han@samsung.com>
Fri, 22 Feb 2013 00:43:25 +0000 (16:43 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 22 Feb 2013 01:22:22 +0000 (17:22 -0800)
commitb6bef463f5e42e959c46773806693c3277179bc4
tree0652a06f93b26c94f380c1413ca2fbccb01ee235
parent81c650e3accca9ca20232e96058aa759ceae06a5
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>
drivers/video/backlight/s6e63m0.c