Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

backlight: adp8870: 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>

authored by

Jingoo Han and committed by
Lee Jones
fe9a8623 5e548f0f

+4
+4
drivers/video/backlight/adp8870_bl.c
··· 144 144 static int adp8870_write(struct i2c_client *client, u8 reg, u8 val) 145 145 { 146 146 int ret = i2c_smbus_write_byte_data(client, reg, val); 147 + 147 148 if (ret) 148 149 dev_err(&client->dev, "failed to write\n"); 149 150 ··· 196 195 static void adp8870_led_work(struct work_struct *work) 197 196 { 198 197 struct adp8870_led *led = container_of(work, struct adp8870_led, work); 198 + 199 199 adp8870_write(led->client, ADP8870_ISC1 + led->id - 1, 200 200 led->new_brightness >> 1); 201 201 } ··· 401 399 static int adp8870_bl_update_status(struct backlight_device *bl) 402 400 { 403 401 int brightness = bl->props.brightness; 402 + 404 403 if (bl->props.power != FB_BLANK_UNBLANK) 405 404 brightness = 0; 406 405 ··· 652 649 { 653 650 struct adp8870_bl *data = dev_get_drvdata(dev); 654 651 int ret = kstrtoul(buf, 10, &data->cached_daylight_max); 652 + 655 653 if (ret) 656 654 return ret; 657 655