[PATCH] staging: etnaviv: fix platform_no_drv_owner.cocci warnings

Julia Lawall julia.lawall at lip6.fr
Thu Nov 5 22:47:58 PST 2015


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 at gmail.com>
Signed-off-by: Fengguang Wu <fengguang.wu at intel.com>
Signed-off-by: Julia Lawall <julia.lawall at 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,
 	},



More information about the linux-arm-kernel mailing list