]> git.karo-electronics.de Git - karo-tx-linux.git/commit
backlight: s6e63m0: remove redundant variable 'before_power'
authorJingoo Han <jg1.han@samsung.com>
Thu, 7 Feb 2013 01:27:24 +0000 (12:27 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 18 Feb 2013 05:47:02 +0000 (16:47 +1100)
commit0f7742ceba3568152d4d1e9213b9cc1a82f95c59
treecaafd0d19d7782d07b9c630fcab106a37b0b728a
parentacb2338a23b5bbf2c552cf9c14d5ac76bce7d03c
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