summaryrefslogtreecommitdiff
path: root/drivers/video/backlight
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2014-08-27 05:09:14 +0400
committerLee Jones <lee.jones@linaro.org>2014-08-29 11:23:50 +0400
commitf9bda39d1384f1ecae131fd283db27a01b5fb6cd (patch)
tree581f6fce8318c8d8d74498722e01fe8789a4d61a /drivers/video/backlight
parent964a1c4e0e22cf2da7c35e7d57e61fcd7ba8ee21 (diff)
downloadlinux-f9bda39d1384f1ecae131fd283db27a01b5fb6cd.tar.xz
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;