[media] s5k5baf: Fix checkpatch error
authorSachin Kamat <sachin.kamat@linaro.org>
Tue, 24 Dec 2013 11:42:04 +0000 (08:42 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Tue, 7 Jan 2014 10:48:29 +0000 (08:48 -0200)
Fixes the following error:
ERROR: return is not a function, parentheses are not required
FILE: drivers/media/i2c/s5k5baf.c:1353:

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/i2c/s5k5baf.c

index 139bdd4f5ddec7445599f64fbe985fea8a36ebfb..974b865c2ee1cba15041dce0f49fa7d38ad03e2e 100644 (file)
@@ -1350,8 +1350,8 @@ static enum selection_rect s5k5baf_get_sel_rect(u32 pad, u32 target)
 
 static int s5k5baf_is_bound_target(u32 target)
 {
-       return (target == V4L2_SEL_TGT_CROP_BOUNDS ||
-               target == V4L2_SEL_TGT_COMPOSE_BOUNDS);
+       return target == V4L2_SEL_TGT_CROP_BOUNDS ||
+               target == V4L2_SEL_TGT_COMPOSE_BOUNDS;
 }
 
 static int s5k5baf_get_selection(struct v4l2_subdev *sd,