[PATCH] mmc: bcm2835: fix platform_no_drv_owner.cocci warnings

From: Julia Lawall
Date: Tue Apr 19 2016 - 09:55:42 EST


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@xxxxxxxxxx>
Signed-off-by: Fengguang Wu <fengguang.wu@xxxxxxxxx>
Signed-off-by: Julia Lawall <julia.lawall@xxxxxxx>
---

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,
},
};