diff mbox

mmc: bcm2835: fix platform_no_drv_owner.cocci warnings

Message ID alpine.DEB.2.10.1604191552580.2960@hadrien (mailing list archive)
State New, archived
Headers show

Commit Message

Julia Lawall April 19, 2016, 1:55 p.m. UTC
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(-)

Comments

Eric Anholt April 19, 2016, 6:19 p.m. UTC | #1
Julia Lawall <julia.lawall@lip6.fr> writes:

> 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 <eric@anholt.net>
diff mbox

Patch

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