All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] mmc: bcm2835: fix platform_no_drv_owner.cocci warnings
@ 2016-04-19 13:55 ` Julia Lawall
  0 siblings, 0 replies; 4+ 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] 4+ messages in thread

* [PATCH] mmc: bcm2835: fix platform_no_drv_owner.cocci warnings
@ 2016-04-19 13:55 ` Julia Lawall
  0 siblings, 0 replies; 4+ messages in thread
From: Julia Lawall @ 2016-04-19 13:55 UTC (permalink / raw)
  To: linux-arm-kernel

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] 4+ messages in thread

* Re: [PATCH] mmc: bcm2835: fix platform_no_drv_owner.cocci warnings
  2016-04-19 13:55 ` Julia Lawall
@ 2016-04-19 18:19   ` Eric Anholt
  -1 siblings, 0 replies; 4+ 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] 4+ messages in thread

* [PATCH] mmc: bcm2835: fix platform_no_drv_owner.cocci warnings
@ 2016-04-19 18:19   ` Eric Anholt
  0 siblings, 0 replies; 4+ messages in thread
From: Eric Anholt @ 2016-04-19 18:19 UTC (permalink / raw)
  To: linux-arm-kernel

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>
-------------- 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>

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-04-19 18:19 UTC | newest]

Thread overview: 4+ 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 13:55 ` Julia Lawall
2016-04-19 18:19 ` Eric Anholt
2016-04-19 18:19   ` Eric Anholt

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.