* [PATCH] media: ov2685: Remove owner assignment from platform_driver
@ 2018-03-16 22:43 Fabio Estevam
0 siblings, 0 replies; only message in thread
From: Fabio Estevam @ 2018-03-16 22:43 UTC (permalink / raw)
To: mchehab; +Cc: zhengsq, linux-media, Fabio Estevam
From: Fabio Estevam <fabio.estevam@nxp.com>
platform_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>
---
drivers/media/i2c/ov2685.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/media/i2c/ov2685.c b/drivers/media/i2c/ov2685.c
index 83c55e8..385c188 100644
--- a/drivers/media/i2c/ov2685.c
+++ b/drivers/media/i2c/ov2685.c
@@ -832,7 +832,6 @@ MODULE_DEVICE_TABLE(of, ov2685_of_match);
static struct i2c_driver ov2685_i2c_driver = {
.driver = {
.name = "ov2685",
- .owner = THIS_MODULE,
.pm = &ov2685_pm_ops,
.of_match_table = of_match_ptr(ov2685_of_match),
},
--
2.7.4
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2018-03-16 22:43 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-16 22:43 [PATCH] media: ov2685: Remove owner assignment from platform_driver Fabio Estevam
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.