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
|
@ -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 New Issue