* [PATCH] mmc: bcm2835: fix platform_no_drv_owner.cocci warnings
@ 2016-04-19 13:55 Julia Lawall
2016-04-19 18:19 ` Eric Anholt
0 siblings, 1 reply; 2+ messages in thread
From: Julia Lawall @ 2016-04-19 13:55 UTC (permalink / raw)
To: Gerd Hoffmann, Ulf Hansson, Stephen Warren, Lee Jones,
Eric Anholt, linux-mmc, linux-rpi-kernel, linux-arm-kernel,
linux-kernel, kbuild-all
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,
},
};
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] mmc: bcm2835: fix platform_no_drv_owner.cocci warnings
2016-04-19 13:55 [PATCH] mmc: bcm2835: fix platform_no_drv_owner.cocci warnings Julia Lawall
@ 2016-04-19 18:19 ` Eric Anholt
0 siblings, 0 replies; 2+ messages in thread
From: Eric Anholt @ 2016-04-19 18:19 UTC (permalink / raw)
To: Julia Lawall, Gerd Hoffmann, Ulf Hansson, Stephen Warren,
Lee Jones, linux-mmc, linux-rpi-kernel, linux-arm-kernel,
linux-kernel, kbuild-all
[-- Attachment #1: Type: text/plain, Size: 222 bytes --]
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>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 818 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-04-19 18:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-19 13:55 [PATCH] mmc: bcm2835: fix platform_no_drv_owner.cocci warnings Julia Lawall
2016-04-19 18:19 ` Eric Anholt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome