Commit a94cb126 authored by Jingoo Han's avatar Jingoo Han Committed by Lee Jones

backlight: lp855x: Add blank line after declarations

Fixed the following checkpatch warning.

  WARNING: Missing a blank line after declarations
Signed-off-by: default avatarJingoo Han <jg1.han@samsung.com>
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
parent b50ffb8a
...@@ -268,6 +268,7 @@ static int lp855x_bl_update_status(struct backlight_device *bl) ...@@ -268,6 +268,7 @@ static int lp855x_bl_update_status(struct backlight_device *bl)
} else if (lp->mode == REGISTER_BASED) { } else if (lp->mode == REGISTER_BASED) {
u8 val = bl->props.brightness; u8 val = bl->props.brightness;
lp855x_write_byte(lp, lp->cfg->reg_brightness, val); lp855x_write_byte(lp, lp->cfg->reg_brightness, val);
} }
...@@ -308,6 +309,7 @@ static ssize_t lp855x_get_chip_id(struct device *dev, ...@@ -308,6 +309,7 @@ static ssize_t lp855x_get_chip_id(struct device *dev,
struct device_attribute *attr, char *buf) struct device_attribute *attr, char *buf)
{ {
struct lp855x *lp = dev_get_drvdata(dev); struct lp855x *lp = dev_get_drvdata(dev);
return scnprintf(buf, PAGE_SIZE, "%s\n", lp->chipname); return scnprintf(buf, PAGE_SIZE, "%s\n", lp->chipname);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment