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

leds: lp5562: remove unnecessary parentheses

Remove unnecessary parentheses in order to fix the following
checkpatch error.

ERROR: return is not a function, parentheses are not required

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Bryan Wu <cooloney@gmail.com>

authored by

Jingoo Han and committed by
Bryan Wu
432eb69d a6a83218

+3 -3
+3 -3
drivers/leds/leds-lp5562.c
··· 346 346 /* check the size of program count */ 347 347 static inline bool _is_pc_overflow(struct lp55xx_predef_pattern *ptn) 348 348 { 349 - return (ptn->size_r >= LP5562_PROGRAM_LENGTH || 350 - ptn->size_g >= LP5562_PROGRAM_LENGTH || 351 - ptn->size_b >= LP5562_PROGRAM_LENGTH); 349 + return ptn->size_r >= LP5562_PROGRAM_LENGTH || 350 + ptn->size_g >= LP5562_PROGRAM_LENGTH || 351 + ptn->size_b >= LP5562_PROGRAM_LENGTH; 352 352 } 353 353 354 354 static int lp5562_run_predef_led_pattern(struct lp55xx_chip *chip, int mode)