summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2014-01-24 00:54:32 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2014-01-24 01:36:57 +0100
commit2ce2386072854f25f03052f819d5fd11ddc75f6c (patch)
treee64864b170d762c2d35f2649abc91af14c64d547
parentbacklight: kb3886_bl: fix incorrect placement of __initdata marker (diff)
downloadlinux-2ce2386072854f25f03052f819d5fd11ddc75f6c.tar.xz
linux-2ce2386072854f25f03052f819d5fd11ddc75f6c.zip
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>
-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)