diff options
author | Jingoo Han <jg1.han@samsung.com> | 2014-08-27 05:12:14 +0400 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2014-08-29 11:25:23 +0400 |
commit | 3033d2c0dd1d7ecbc8d4e04a7c1085931f86b68a (patch) | |
tree | d54ad1a21919b0beeba8f6a028e38acf7d231aae | |
parent | e09bceac75b86c672b6e41b9341fa50325713438 (diff) | |
download | linux-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>
-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 = { |