summaryrefslogtreecommitdiff
path: root/drivers/media/i2c
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-12-24 08:42:04 -0300
committerChanho Park <chanho61.park@samsung.com>2014-11-18 11:58:45 +0900
commit83b857473b03afa840d63fdaddd7e54a1d28c566 (patch)
tree8ddab1caa3435fbcae7ecea48c1f41ac1a5243f5 /drivers/media/i2c
parent3ea80f0ecfa9356d5bb4348cd3a2618e61b0c60a (diff)
downloadlinux-3.10-83b857473b03afa840d63fdaddd7e54a1d28c566.tar.gz
linux-3.10-83b857473b03afa840d63fdaddd7e54a1d28c566.tar.bz2
linux-3.10-83b857473b03afa840d63fdaddd7e54a1d28c566.zip
upstream: [media] s5k5baf: Fix checkpatch error
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>
Diffstat (limited to 'drivers/media/i2c')
-rw-r--r--drivers/media/i2c/s5k5baf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/i2c/s5k5baf.c b/drivers/media/i2c/s5k5baf.c
index c07dfa7713f..89477a334cf 100644
--- a/drivers/media/i2c/s5k5baf.c
+++ b/drivers/media/i2c/s5k5baf.c
@@ -1357,8 +1357,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,