summaryrefslogtreecommitdiff
path: root/drivers/media/i2c/ov772x.c
diff options
context:
space:
mode:
authorJacopo Mondi <jacopo+renesas@jmondi.org>2018-03-02 17:46:40 +0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2018-03-06 19:58:19 +0300
commite0853a4324ad48ea5dd40720227270e7e0464006 (patch)
tree46ffde09004f64ada2d52bcdf2d075027cfc7662 /drivers/media/i2c/ov772x.c
parent2a2f21e38aa6d11ffbcdde22defc7b06f3d1fe53 (diff)
downloadlinux-e0853a4324ad48ea5dd40720227270e7e0464006.tar.xz
media: ov772x: Empty line before end-of-function return
Add an empty line before return at the end of functions. Signed-off-by: Jacopo Mondi <jacopo+renesas@jmondi.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/i2c/ov772x.c')
-rw-r--r--drivers/media/i2c/ov772x.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/media/i2c/ov772x.c b/drivers/media/i2c/ov772x.c
index 59f3eb38d580..093a8040cfd2 100644
--- a/drivers/media/i2c/ov772x.c
+++ b/drivers/media/i2c/ov772x.c
@@ -1129,6 +1129,7 @@ static int ov772x_set_fmt(struct v4l2_subdev *sd,
priv->win = win;
priv->cfmt = cfmt;
+
return 0;
}
@@ -1172,6 +1173,7 @@ static int ov772x_video_probe(struct ov772x_priv *priv)
done:
ov772x_s_power(&priv->subdev, 0);
+
return ret;
}
@@ -1213,6 +1215,7 @@ static int ov772x_enum_mbus_code(struct v4l2_subdev *sd,
return -EINVAL;
code->code = ov772x_cfmts[code->index].code;
+
return 0;
}
@@ -1327,6 +1330,7 @@ static int ov772x_remove(struct i2c_client *client)
gpiod_put(priv->pwdn_gpio);
v4l2_device_unregister_subdev(&priv->subdev);
v4l2_ctrl_handler_free(&priv->hdl);
+
return 0;
}