Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Jingoo Han and committed by
Lee Jones
3033d2c0 e09bceac

-2
-2
drivers/video/backlight/lm3639_bl.c
··· 254 254 return; 255 255 out: 256 256 dev_err(pchip->dev, "i2c failed to access register\n"); 257 - return; 258 257 } 259 258 260 259 /* flash */ ··· 292 293 return; 293 294 out: 294 295 dev_err(pchip->dev, "i2c failed to access register\n"); 295 - return; 296 296 } 297 297 298 298 static const struct regmap_config lm3639_regmap = {