projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b50ffb8
)
backlight: lp855x: Add blank line after declarations
author
Jingoo Han
<jg1.han@samsung.com>
Wed, 27 Aug 2014 01:12:53 +0000
(10:12 +0900)
committer
Lee Jones
<lee.jones@linaro.org>
Fri, 29 Aug 2014 07:25:44 +0000
(08:25 +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/lp855x_bl.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/video/backlight/lp855x_bl.c
b/drivers/video/backlight/lp855x_bl.c
index dcdd5443efcf42237b0821963933c9b87a65c900..25fb8e3d75b16765e74198cacdf9e816ca84b3ea 100644
(file)
--- a/
drivers/video/backlight/lp855x_bl.c
+++ b/
drivers/video/backlight/lp855x_bl.c
@@
-268,6
+268,7
@@
static int lp855x_bl_update_status(struct backlight_device *bl)
} else if (lp->mode == REGISTER_BASED) {
u8 val = bl->props.brightness;
+
lp855x_write_byte(lp, lp->cfg->reg_brightness, val);
}
@@
-308,6
+309,7
@@
static ssize_t lp855x_get_chip_id(struct device *dev,
struct device_attribute *attr, char *buf)
{
struct lp855x *lp = dev_get_drvdata(dev);
+
return scnprintf(buf, PAGE_SIZE, "%s\n", lp->chipname);
}