diff options
author | Jingoo Han <jg1.han@samsung.com> | 2014-01-23 18:54:33 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-01-23 19:36:57 -0500 |
commit | 68585c41c9863688bff81fd69e37a2f585d474f9 (patch) | |
tree | 9fbadf48439d7747a3caf9538af7afaccf7d22e2 | |
parent | 2ce2386072854f25f03052f819d5fd11ddc75f6c (diff) |
backlight: lp8788: 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: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r-- | drivers/video/backlight/lp8788_bl.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/video/backlight/lp8788_bl.c b/drivers/video/backlight/lp8788_bl.c index e49905d495dc..daba34dc46d4 100644 --- a/drivers/video/backlight/lp8788_bl.c +++ b/drivers/video/backlight/lp8788_bl.c | |||
@@ -63,13 +63,13 @@ static struct lp8788_bl_config default_bl_config = { | |||
63 | 63 | ||
64 | static inline bool is_brightness_ctrl_by_pwm(enum lp8788_bl_ctrl_mode mode) | 64 | static inline bool is_brightness_ctrl_by_pwm(enum lp8788_bl_ctrl_mode mode) |
65 | { | 65 | { |
66 | return (mode == LP8788_BL_COMB_PWM_BASED); | 66 | return mode == LP8788_BL_COMB_PWM_BASED; |
67 | } | 67 | } |
68 | 68 | ||
69 | static inline bool is_brightness_ctrl_by_register(enum lp8788_bl_ctrl_mode mode) | 69 | static inline bool is_brightness_ctrl_by_register(enum lp8788_bl_ctrl_mode mode) |
70 | { | 70 | { |
71 | return (mode == LP8788_BL_REGISTER_ONLY || | 71 | return mode == LP8788_BL_REGISTER_ONLY || |
72 | mode == LP8788_BL_COMB_REGISTER_BASED); | 72 | mode == LP8788_BL_COMB_REGISTER_BASED; |
73 | } | 73 | } |
74 | 74 | ||
75 | static int lp8788_backlight_configure(struct lp8788_bl *bl) | 75 | static int lp8788_backlight_configure(struct lp8788_bl *bl) |