summaryrefslogtreecommitdiffstats
path: root/drivers/media/i2c
diff options
context:
space:
mode:
authorFabio Estevam2018-03-24 15:01:33 +0100
committerMauro Carvalho Chehab2018-05-04 20:33:25 +0200
commit949abce61c94c3e71f3d608eba240408aff1e3df (patch)
treecdfca000b0119703980a601c03bf7e76940ea9da /drivers/media/i2c
parentmedia: em28xx-cards: output regular messages as info (diff)
downloadkernel-qcow2-linux-949abce61c94c3e71f3d608eba240408aff1e3df.tar.gz
kernel-qcow2-linux-949abce61c94c3e71f3d608eba240408aff1e3df.tar.xz
kernel-qcow2-linux-949abce61c94c3e71f3d608eba240408aff1e3df.zip
media: ov5695: Remove owner assignment from i2c_driver
Structure i2c_driver does not need to set the owner field, as this will be populated by the driver core. Generated by scripts/coccinelle/api/platform_no_drv_owner.cocci. Cc: Shunqian Zheng <zhengsq@rock-chips.com> Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'drivers/media/i2c')
-rw-r--r--drivers/media/i2c/ov5695.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/media/i2c/ov5695.c b/drivers/media/i2c/ov5695.c
index 9be38a0a2046..9a80decd93d3 100644
--- a/drivers/media/i2c/ov5695.c
+++ b/drivers/media/i2c/ov5695.c
@@ -1385,7 +1385,6 @@ MODULE_DEVICE_TABLE(of, ov5695_of_match);
static struct i2c_driver ov5695_i2c_driver = {
.driver = {
.name = "ov5695",
- .owner = THIS_MODULE,
.pm = &ov5695_pm_ops,
.of_match_table = of_match_ptr(ov5695_of_match),
},