projects
/
deliverable
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e09bcea
)
backlight: lm3639: Remove unnecessary return statements
author
Jingoo Han
<jg1.han@samsung.com>
Wed, 27 Aug 2014 01:12:14 +0000
(10:12 +0900)
committer
Lee Jones
<lee.jones@linaro.org>
Fri, 29 Aug 2014 07:25:23 +0000
(08:25 +0100)
Fixed the following checkpatch warning.
WARNING: void function return statements are not generally useful
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/video/backlight/lm3639_bl.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/video/backlight/lm3639_bl.c
b/drivers/video/backlight/lm3639_bl.c
index 5f36808d214f0d27665ced0baaf87e4f9a95b6ff..cd50df5807eadb2b4bf18b6fa8efc906beda0dee 100644
(file)
--- a/
drivers/video/backlight/lm3639_bl.c
+++ b/
drivers/video/backlight/lm3639_bl.c
@@
-254,7
+254,6
@@
static void lm3639_torch_brightness_set(struct led_classdev *cdev,
return;
out:
dev_err(pchip->dev, "i2c failed to access register\n");
- return;
}
/* flash */
@@
-293,7
+292,6
@@
static void lm3639_flash_brightness_set(struct led_classdev *cdev,
return;
out:
dev_err(pchip->dev, "i2c failed to access register\n");
- return;
}
static const struct regmap_config lm3639_regmap = {
This page took
0.025005 seconds
and
5
git commands to generate.