diff options
author | Jingoo Han <jg1.han@samsung.com> | 2014-08-27 03:12:14 +0200 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2014-08-29 09:25:23 +0200 |
commit | 3033d2c0dd1d7ecbc8d4e04a7c1085931f86b68a (patch) | |
tree | d54ad1a21919b0beeba8f6a028e38acf7d231aae /drivers/video/backlight | |
parent | backlight: ld9040: Remove 'else' after a return (diff) | |
download | linux-3033d2c0dd1d7ecbc8d4e04a7c1085931f86b68a.tar.xz linux-3033d2c0dd1d7ecbc8d4e04a7c1085931f86b68a.zip |
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')
-rw-r--r-- | drivers/video/backlight/lm3639_bl.c | 2 |
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 = { |