mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
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 <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
2ce2386072
commit
68585c41c9
1 changed files with 3 additions and 3 deletions
|
|
@ -63,13 +63,13 @@ static struct lp8788_bl_config default_bl_config = {
|
|||
|
||||
static inline bool is_brightness_ctrl_by_pwm(enum lp8788_bl_ctrl_mode mode)
|
||||
{
|
||||
return (mode == LP8788_BL_COMB_PWM_BASED);
|
||||
return mode == LP8788_BL_COMB_PWM_BASED;
|
||||
}
|
||||
|
||||
static inline bool is_brightness_ctrl_by_register(enum lp8788_bl_ctrl_mode mode)
|
||||
{
|
||||
return (mode == LP8788_BL_REGISTER_ONLY ||
|
||||
mode == LP8788_BL_COMB_REGISTER_BASED);
|
||||
return mode == LP8788_BL_REGISTER_ONLY ||
|
||||
mode == LP8788_BL_COMB_REGISTER_BASED;
|
||||
}
|
||||
|
||||
static int lp8788_backlight_configure(struct lp8788_bl *bl)
|
||||
|
|
|
|||
Loading…
Reference in a new issue