backlight: lp855x: remove unnecessary parentheses
authorJingoo Han <jg1.han@samsung.com>
Thu, 23 Jan 2014 23:54:32 +0000 (15:54 -0800)
committerLinus 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

index cae80d555e841fcd22dc844c9bf0d6fe12b87539..2ca3a040007bb6298c3c571b7d788900d8aa3759 100644 (file)
@@ -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)
This page took 0.029487 seconds and 5 git commands to generate.