backlight: adp8860: Add blank line after declarations
authorJingoo Han <jg1.han@samsung.com>
Wed, 27 Aug 2014 01:09:52 +0000 (10:09 +0900)
committerLee Jones <lee.jones@linaro.org>
Fri, 29 Aug 2014 07:24:03 +0000 (08:24 +0100)
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>
drivers/video/backlight/adp8860_bl.c

index be8d83deca7d5a2a7ca563873a7008d33599541b..71147f4461b8cb57fc3a0b62b502bc97bdac843b 100644 (file)
@@ -181,6 +181,7 @@ static int adp8860_clr_bits(struct i2c_client *client, int reg, uint8_t bit_mask
 static void adp8860_led_work(struct work_struct *work)
 {
        struct adp8860_led *led = container_of(work, struct adp8860_led, work);
+
        adp8860_write(led->client, ADP8860_ISC1 - led->id + 1,
                         led->new_brightness >> 1);
 }
@@ -362,6 +363,7 @@ static int adp8860_bl_set(struct backlight_device *bl, int brightness)
 static int adp8860_bl_update_status(struct backlight_device *bl)
 {
        int brightness = bl->props.brightness;
+
        if (bl->props.power != FB_BLANK_UNBLANK)
                brightness = 0;
 
@@ -499,6 +501,7 @@ static ssize_t adp8860_bl_l1_daylight_max_store(struct device *dev,
 {
        struct adp8860_bl *data = dev_get_drvdata(dev);
        int ret = kstrtoul(buf, 10, &data->cached_daylight_max);
+
        if (ret)
                return ret;