summaryrefslogtreecommitdiff
path: root/drivers/video/backlight/lp855x_bl.c
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2014-01-24 03:54:32 +0400
committerLinus Torvalds <torvalds@linux-foundation.org>2014-01-24 04:36:57 +0400
commit2ce2386072854f25f03052f819d5fd11ddc75f6c (patch)
treee64864b170d762c2d35f2649abc91af14c64d547 /drivers/video/backlight/lp855x_bl.c
parent81f5cdc1b2a48d466bc53f38e843a7981a4e5e0c (diff)
downloadlinux-2ce2386072854f25f03052f819d5fd11ddc75f6c.tar.xz
backlight: lp855x: 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>
Diffstat (limited to 'drivers/video/backlight/lp855x_bl.c')
-rw-r--r--drivers/video/backlight/lp855x_bl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/backlight/lp855x_bl.c b/drivers/video/backlight/lp855x_bl.c
index cae80d555e84..2ca3a040007b 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)