public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH] mmc: bcm2835: fix platform_no_drv_owner.cocci warnings
@ 2016-04-19 13:55 Julia Lawall
  2016-04-19 18:19 ` Eric Anholt
  0 siblings, 1 reply; 2+ messages in thread
From: Julia Lawall @ 2016-04-19 13:55 UTC (permalink / raw)
  To: linux-arm-kernel

Remove .owner field if calls are used which set it automatically

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

CC: Eric Anholt <eric@anholt.net>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Julia Lawall <julia.lawall@lip6.fr>
---

 bcm2835-mmc.c |    1 -
 1 file changed, 1 deletion(-)

--- a/drivers/mmc/host/bcm2835-mmc.c
+++ b/drivers/mmc/host/bcm2835-mmc.c
@@ -1545,7 +1545,6 @@ static struct platform_driver bcm2835_mm
 	.remove     = bcm2835_mmc_remove,
 	.driver     = {
 		.name		= DRIVER_NAME,
-		.owner		= THIS_MODULE,
 		.of_match_table	= bcm2835_mmc_match,
 	},
 };

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

end of thread, other threads:[~2016-04-19 18:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-19 13:55 [PATCH] mmc: bcm2835: fix platform_no_drv_owner.cocci warnings Julia Lawall
2016-04-19 18:19 ` Eric Anholt

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