]> git.karo-electronics.de Git - karo-tx-linux.git/commit
backlight: s6e63m0: remove redundant variable 'before_power'
authorJingoo Han <jg1.han@samsung.com>
Wed, 20 Feb 2013 02:15:18 +0000 (13:15 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 20 Feb 2013 05:53:10 +0000 (16:53 +1100)
commit9b8737234d1ad86634e154575e1f6726c327d723
tree583fc78a30aafb23396621888076ebf1b5213eb3
parentcda54d06c3fec058b4e774b72a64408f070b44d2
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>
drivers/video/backlight/s6e63m0.c