diff options
author | Jingoo Han <jg1.han@samsung.com> | 2014-08-27 01:09:14 (GMT) |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2014-08-29 07:23:50 (GMT) |
commit | f9bda39d1384f1ecae131fd283db27a01b5fb6cd (patch) | |
tree | 581f6fce8318c8d8d74498722e01fe8789a4d61a /drivers/video/backlight/adp5520_bl.c | |
parent | 964a1c4e0e22cf2da7c35e7d57e61fcd7ba8ee21 (diff) | |
download | linux-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/adp5520_bl.c')
-rw-r--r-- | drivers/video/backlight/adp5520_bl.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/video/backlight/adp5520_bl.c b/drivers/video/backlight/adp5520_bl.c index b56cb3f..dd88ba1 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; |