Messages in this thread Patch in this message | | | From | Jingoo Han <> | Subject | [PATCH 2/3] backlight: lp855x: remove unnecessary parentheses | Date | Tue, 07 Jan 2014 10:31:47 +0900 |
| |
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> --- drivers/video/backlight/lp855x_bl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/video/backlight/lp855x_bl.c b/drivers/video/backlight/lp855x_bl.c index cae80d5..2ca3a04 100644 --- a/drivers/video/backlight/lp855x_bl.c +++ b/drivers/video/backlight/lp855x_bl.c @@ -125,7 +125,7 @@ static bool lp855x_is_valid_rom_area(struct lp855x *lp, u8 addr) return false; } - return (addr >= start && addr <= end); + return addr >= start && addr <= end; } static int lp8557_bl_off(struct lp855x *lp) -- 1.7.10.4
| |