summaryrefslogtreecommitdiff
path: root/drivers/video/backlight/lm3639_bl.c
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2014-08-27 05:12:14 +0400
committerLee Jones <lee.jones@linaro.org>2014-08-29 11:25:23 +0400
commit3033d2c0dd1d7ecbc8d4e04a7c1085931f86b68a (patch)
treed54ad1a21919b0beeba8f6a028e38acf7d231aae /drivers/video/backlight/lm3639_bl.c
parente09bceac75b86c672b6e41b9341fa50325713438 (diff)
downloadlinux-3033d2c0dd1d7ecbc8d4e04a7c1085931f86b68a.tar.xz
backlight: lm3639: Remove unnecessary return statements
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>
Diffstat (limited to 'drivers/video/backlight/lm3639_bl.c')
-rw-r--r--drivers/video/backlight/lm3639_bl.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/video/backlight/lm3639_bl.c b/drivers/video/backlight/lm3639_bl.c
index 5f36808d214f..cd50df5807ea 100644
--- 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 = {