projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
81f5cdc
)
backlight: lp855x: remove unnecessary parentheses
author
Jingoo Han
<jg1.han@samsung.com>
Thu, 23 Jan 2014 23:54:32 +0000
(15:54 -0800)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Fri, 24 Jan 2014 00:36:57 +0000
(16:36 -0800)
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>
drivers/video/backlight/lp855x_bl.c
patch
|
blob
|
history
diff --git
a/drivers/video/backlight/lp855x_bl.c
b/drivers/video/backlight/lp855x_bl.c
index cae80d555e841fcd22dc844c9bf0d6fe12b87539..2ca3a040007bb6298c3c571b7d788900d8aa3759 100644
(file)
--- 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)