diff options
author | Jingoo Han <jg1.han@samsung.com> | 2014-08-26 21:09:52 -0400 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2014-08-29 03:24:03 -0400 |
commit | 5e548f0f55a9f8165a3f36226ac5d3f42a05cf47 (patch) | |
tree | 21e0ec0a194202ef3db68893c408a53fc6ac7e06 | |
parent | f9bda39d1384f1ecae131fd283db27a01b5fb6cd (diff) |
backlight: adp8860: 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>
-rw-r--r-- | drivers/video/backlight/adp8860_bl.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/video/backlight/adp8860_bl.c b/drivers/video/backlight/adp8860_bl.c index be8d83deca7d..71147f4461b8 100644 --- a/drivers/video/backlight/adp8860_bl.c +++ b/drivers/video/backlight/adp8860_bl.c | |||
@@ -181,6 +181,7 @@ static int adp8860_clr_bits(struct i2c_client *client, int reg, uint8_t bit_mask | |||
181 | static void adp8860_led_work(struct work_struct *work) | 181 | static void adp8860_led_work(struct work_struct *work) |
182 | { | 182 | { |
183 | struct adp8860_led *led = container_of(work, struct adp8860_led, work); | 183 | struct adp8860_led *led = container_of(work, struct adp8860_led, work); |
184 | |||
184 | adp8860_write(led->client, ADP8860_ISC1 - led->id + 1, | 185 | adp8860_write(led->client, ADP8860_ISC1 - led->id + 1, |
185 | led->new_brightness >> 1); | 186 | led->new_brightness >> 1); |
186 | } | 187 | } |
@@ -362,6 +363,7 @@ static int adp8860_bl_set(struct backlight_device *bl, int brightness) | |||
362 | static int adp8860_bl_update_status(struct backlight_device *bl) | 363 | static int adp8860_bl_update_status(struct backlight_device *bl) |
363 | { | 364 | { |
364 | int brightness = bl->props.brightness; | 365 | int brightness = bl->props.brightness; |
366 | |||
365 | if (bl->props.power != FB_BLANK_UNBLANK) | 367 | if (bl->props.power != FB_BLANK_UNBLANK) |
366 | brightness = 0; | 368 | brightness = 0; |
367 | 369 | ||
@@ -499,6 +501,7 @@ static ssize_t adp8860_bl_l1_daylight_max_store(struct device *dev, | |||
499 | { | 501 | { |
500 | struct adp8860_bl *data = dev_get_drvdata(dev); | 502 | struct adp8860_bl *data = dev_get_drvdata(dev); |
501 | int ret = kstrtoul(buf, 10, &data->cached_daylight_max); | 503 | int ret = kstrtoul(buf, 10, &data->cached_daylight_max); |
504 | |||
502 | if (ret) | 505 | if (ret) |
503 | return ret; | 506 | return ret; |
504 | 507 | ||