summaryrefslogtreecommitdiffstats
path: root/drivers/video/backlight
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2014-08-27 03:09:14 +0200
committerLee Jones <lee.jones@linaro.org>2014-08-29 09:23:50 +0200
commitf9bda39d1384f1ecae131fd283db27a01b5fb6cd (patch)
tree581f6fce8318c8d8d74498722e01fe8789a4d61a /drivers/video/backlight
parentbacklight: generic_bl: Remove unused function (diff)
downloadlinux-f9bda39d1384f1ecae131fd283db27a01b5fb6cd.tar.xz
linux-f9bda39d1384f1ecae131fd283db27a01b5fb6cd.zip
backlight: adp5520: Add blank line after declarations
Fixed the following checkpatch warning. WARNING: Missing a blank line after declarations Signed-off-by: Jingoo Han <jg1.han@samsung.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/video/backlight')
-rw-r--r--drivers/video/backlight/adp5520_bl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/video/backlight/adp5520_bl.c b/drivers/video/backlight/adp5520_bl.c
index b56cb3f77174..dd88ba1d71ce 100644
--- a/drivers/video/backlight/adp5520_bl.c
+++ b/drivers/video/backlight/adp5520_bl.c
@@ -67,6 +67,7 @@ static int adp5520_bl_set(struct backlight_device *bl, int brightness)
static int adp5520_bl_update_status(struct backlight_device *bl)
{
int brightness = bl->props.brightness;
+
if (bl->props.power != FB_BLANK_UNBLANK)
brightness = 0;