diff options
author | Fabio Estevam <fabio.estevam@nxp.com> | 2018-03-24 10:01:34 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2018-05-04 14:33:48 -0400 |
commit | 0872f4f4f13c116844fc7308cd21431c6d187665 (patch) | |
tree | 2915b331ecc1aaaebde3ab8f36a99adc519feb35 | |
parent | 949abce61c94c3e71f3d608eba240408aff1e3df (diff) | |
download | op-kernel-dev-0872f4f4f13c116844fc7308cd21431c6d187665.zip op-kernel-dev-0872f4f4f13c116844fc7308cd21431c6d187665.tar.gz |
media: ov13858: 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: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
-rw-r--r-- | drivers/media/i2c/ov13858.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/media/i2c/ov13858.c b/drivers/media/i2c/ov13858.c index 3dbcae2..a66f620 100644 --- a/drivers/media/i2c/ov13858.c +++ b/drivers/media/i2c/ov13858.c @@ -1796,7 +1796,6 @@ MODULE_DEVICE_TABLE(acpi, ov13858_acpi_ids); static struct i2c_driver ov13858_i2c_driver = { .driver = { .name = "ov13858", - .owner = THIS_MODULE, .pm = &ov13858_pm_ops, .acpi_match_table = ACPI_PTR(ov13858_acpi_ids), }, |