[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-id: <004501cfc193$845a08c0$8d0e1a40$%han@samsung.com>
Date: Wed, 27 Aug 2014 10:09:14 +0900
From: Jingoo Han <jg1.han@...sung.com>
To: linux-kernel@...r.kernel.org
Cc: 'Bryan Wu' <cooloney@...il.com>,
'Lee Jones' <lee.jones@...aro.org>,
'Jingoo Han' <jg1.han@...sung.com>
Subject: [PATCH V2 01/18] 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@...sung.com>
Acked-by: Lee Jones <lee.jones@...aro.org>
---
drivers/video/backlight/adp5520_bl.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/video/backlight/adp5520_bl.c b/drivers/video/backlight/adp5520_bl.c
index f37097a261a2..8280245d7c12 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;
--
2.0.0
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists