mmc: bcm2835: fix platform_no_drv_owner.cocci warnings
Subsystems (3)
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
CC Eric Anholt <[email protected]>
Signed-off-by Fengguang Wu <[email protected]>
Signed-off-by Julia Lawall <[email protected]>
---
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, }, };
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
Acked-by Eric Anholt <[email protected]>
-------------- 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>