diff options
author | Jingoo Han <jg1.han@samsung.com> | 2014-02-26 00:11:41 -0500 |
---|---|---|
committer | Bryan Wu <cooloney@gmail.com> | 2014-02-27 13:17:15 -0500 |
commit | 432eb69dd845d239213e714ae2b9efec3dcdf230 (patch) | |
tree | 4796cef5505e96e1fa0c94bbb72449a4bd382171 /drivers/leds | |
parent | a6a83218d78339c19c4d6105316654ecd6632f7f (diff) |
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>
Diffstat (limited to 'drivers/leds')
-rw-r--r-- | drivers/leds/leds-lp5562.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/leds/leds-lp5562.c b/drivers/leds/leds-lp5562.c index 315d3cade0dc..ca85724ab138 100644 --- a/drivers/leds/leds-lp5562.c +++ b/drivers/leds/leds-lp5562.c | |||
@@ -346,9 +346,9 @@ static void lp5562_write_program_memory(struct lp55xx_chip *chip, | |||
346 | /* check the size of program count */ | 346 | /* check the size of program count */ |
347 | static inline bool _is_pc_overflow(struct lp55xx_predef_pattern *ptn) | 347 | static inline bool _is_pc_overflow(struct lp55xx_predef_pattern *ptn) |
348 | { | 348 | { |
349 | return (ptn->size_r >= LP5562_PROGRAM_LENGTH || | 349 | return ptn->size_r >= LP5562_PROGRAM_LENGTH || |
350 | ptn->size_g >= LP5562_PROGRAM_LENGTH || | 350 | ptn->size_g >= LP5562_PROGRAM_LENGTH || |
351 | ptn->size_b >= LP5562_PROGRAM_LENGTH); | 351 | ptn->size_b >= LP5562_PROGRAM_LENGTH; |
352 | } | 352 | } |
353 | 353 | ||
354 | static int lp5562_run_predef_led_pattern(struct lp55xx_chip *chip, int mode) | 354 | static int lp5562_run_predef_led_pattern(struct lp55xx_chip *chip, int mode) |