projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a2f21e
)
media: ov772x: Empty line before end-of-function return
author
Jacopo Mondi
<jacopo+renesas@jmondi.org>
Fri, 2 Mar 2018 14:46:40 +0000
(09:46 -0500)
committer
Mauro Carvalho Chehab
<mchehab@s-opensource.com>
Tue, 6 Mar 2018 16:58:19 +0000
(11:58 -0500)
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>
drivers/media/i2c/ov772x.c
patch
|
blob
|
history
diff --git
a/drivers/media/i2c/ov772x.c
b/drivers/media/i2c/ov772x.c
index 59f3eb38d580aa13cd0ef5b7af3edb8b2e5e80b9..093a8040cfd2bcaf361ef411585e3cbd57a0d1fa 100644
(file)
--- 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;
}