Skip to contentSkip to conversation

mmc: bcm2835: fix platform_no_drv_owner.cocci warnings

PATCH In review Julia Lawall 2 participants 2 messages Apr 19, 2016

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mmc: bcm2835: fix platform_no_drv_owner.cocci warnings

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

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

---

 bcm2835-mmc.c |    1 -
 1 file changed, 1 deletion(-)
drivers/mmc/host/bcm2835-mmc.c +0 -1
@@ -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,
 	},
 };
Acked-by on v1 1/1
#1 lore raw
Quoted 3 lines · Julia Lawall

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

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20160419/a72d8c41/attachment.sig>