mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-27 19:29:37 +00:00
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>
This commit is contained in:
parent
e09bceac75
commit
3033d2c0dd
1 changed files with 0 additions and 2 deletions
|
@ -254,7 +254,6 @@ static void lm3639_torch_brightness_set(struct led_classdev *cdev,
|
||||||
return;
|
return;
|
||||||
out:
|
out:
|
||||||
dev_err(pchip->dev, "i2c failed to access register\n");
|
dev_err(pchip->dev, "i2c failed to access register\n");
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* flash */
|
/* flash */
|
||||||
|
@ -293,7 +292,6 @@ static void lm3639_flash_brightness_set(struct led_classdev *cdev,
|
||||||
return;
|
return;
|
||||||
out:
|
out:
|
||||||
dev_err(pchip->dev, "i2c failed to access register\n");
|
dev_err(pchip->dev, "i2c failed to access register\n");
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static const struct regmap_config lm3639_regmap = {
|
static const struct regmap_config lm3639_regmap = {
|
||||||
|
|
Loading…
Reference in a new issue