public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH] staging: etnaviv: fix platform_no_drv_owner.cocci warnings
@ 2015-11-06  6:47 Julia Lawall
  2015-11-06  9:17 ` Arnd Bergmann
  0 siblings, 1 reply; 2+ messages in thread
From: Julia Lawall @ 2015-11-06  6:47 UTC (permalink / raw)
  To: linux-arm-kernel

No need to set .owner here. The core will do it.

Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci

CC: Christian Gmeiner <christian.gmeiner@gmail.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Julia Lawall <julia.lawall@lip6.fr>

---

 etnaviv_drv.c |    1 -
 1 file changed, 1 deletion(-)

--- a/drivers/staging/etnaviv/etnaviv_drv.c
+++ b/drivers/staging/etnaviv/etnaviv_drv.c
@@ -587,7 +587,6 @@ static struct platform_driver etnaviv_pl
 	.probe      = etnaviv_pdev_probe,
 	.remove     = etnaviv_pdev_remove,
 	.driver     = {
-		.owner  = THIS_MODULE,
 		.name   = "vivante",
 		.of_match_table = dt_match,
 	},

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-11-06  9:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-06  6:47 [PATCH] staging: etnaviv: fix platform_no_drv_owner.cocci warnings Julia Lawall
2015-11-06  9:17 ` Arnd Bergmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox