media: ov2685: 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.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
This commit is contained in:
Fabio Estevam 2018-03-17 14:24:58 -04:00 committed by Mauro Carvalho Chehab
parent 5b81c53c49
commit 4996c3d4cf

View file

@ -832,7 +832,6 @@ MODULE_DEVICE_TABLE(of, ov2685_of_match);
static struct i2c_driver ov2685_i2c_driver = { static struct i2c_driver ov2685_i2c_driver = {
.driver = { .driver = {
.name = "ov2685", .name = "ov2685",
.owner = THIS_MODULE,
.pm = &ov2685_pm_ops, .pm = &ov2685_pm_ops,
.of_match_table = of_match_ptr(ov2685_of_match), .of_match_table = of_match_ptr(ov2685_of_match),
}, },