diff options
author | Fabio Estevam <fabio.estevam@nxp.com> | 2018-03-17 14:24:58 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2018-04-04 06:12:53 -0400 |
commit | 4996c3d4cfce30ed30160c511b43d9b491445d7c (patch) | |
tree | 71519a8b9cad389bd2dc15ffc09093242356e2ef | |
parent | 5b81c53c4996c4382f8ea85c1706152c9e5af5c7 (diff) |
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>
-rw-r--r-- | drivers/media/i2c/ov2685.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/media/i2c/ov2685.c b/drivers/media/i2c/ov2685.c index 83c55e8288e7..385c1886a947 100644 --- a/drivers/media/i2c/ov2685.c +++ b/drivers/media/i2c/ov2685.c | |||
@@ -832,7 +832,6 @@ MODULE_DEVICE_TABLE(of, ov2685_of_match); | |||
832 | static struct i2c_driver ov2685_i2c_driver = { | 832 | static struct i2c_driver ov2685_i2c_driver = { |
833 | .driver = { | 833 | .driver = { |
834 | .name = "ov2685", | 834 | .name = "ov2685", |
835 | .owner = THIS_MODULE, | ||
836 | .pm = &ov2685_pm_ops, | 835 | .pm = &ov2685_pm_ops, |
837 | .of_match_table = of_match_ptr(ov2685_of_match), | 836 | .of_match_table = of_match_ptr(ov2685_of_match), |
838 | }, | 837 | }, |