Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1382535 > unrolled thread

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

Started byJulia Lawall <julia.lawall@lip6.fr>
First post2016-04-19 16:00 +0200
Last post2016-04-19 20:20 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] mmc: bcm2835: fix platform_no_drv_owner.cocci warnings Julia Lawall <julia.lawall@lip6.fr> - 2016-04-19 16:00 +0200
    Re: [PATCH] mmc: bcm2835: fix platform_no_drv_owner.cocci warnings Eric Anholt <eric@anholt.net> - 2016-04-19 20:20 +0200

#1382535 — [PATCH] mmc: bcm2835: fix platform_no_drv_owner.cocci warnings

FromJulia Lawall <julia.lawall@lip6.fr>
Date2016-04-19 16:00 +0200
Subject[PATCH] mmc: bcm2835: fix platform_no_drv_owner.cocci warnings
Message-ID<rpEm5-7KL-1@gated-at.bofh.it>
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,
 	},
 };

[toc] | [next] | [standalone]


#1382772

FromEric Anholt <eric@anholt.net>
Date2016-04-19 20:20 +0200
Message-ID<rpIpI-2Fq-1@gated-at.bofh.it>
In reply to#1382535

[Multipart message — attachments visible in raw view] — view raw

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>

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web