* [PATCH] powerpc: cpm_gpio: Remove owner assignment from platform_driver
@ 2018-05-05 3:01 Fabio Estevam
2018-06-04 14:10 ` Michael Ellerman
0 siblings, 1 reply; 2+ messages in thread
From: Fabio Estevam @ 2018-05-05 3:01 UTC (permalink / raw)
To: mpe; +Cc: benh, paulus, linuxppc-dev, Fabio Estevam
From: Fabio Estevam <fabio.estevam@nxp.com>
Structure platform_driver does not need to set the owner field, as this
will be populated by the driver core.
Generated by scripts/coccinelle/api/platform_no_drv_owner.cocci.
Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
---
arch/powerpc/sysdev/cpm_gpio.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/arch/powerpc/sysdev/cpm_gpio.c b/arch/powerpc/sysdev/cpm_gpio.c
index 0badc90..0695d26 100644
--- a/arch/powerpc/sysdev/cpm_gpio.c
+++ b/arch/powerpc/sysdev/cpm_gpio.c
@@ -63,7 +63,6 @@ static struct platform_driver cpm_gpio_driver = {
.probe = cpm_gpio_probe,
.driver = {
.name = "cpm-gpio",
- .owner = THIS_MODULE,
.of_match_table = cpm_gpio_match,
},
};
--
2.7.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: powerpc: cpm_gpio: Remove owner assignment from platform_driver
2018-05-05 3:01 [PATCH] powerpc: cpm_gpio: Remove owner assignment from platform_driver Fabio Estevam
@ 2018-06-04 14:10 ` Michael Ellerman
0 siblings, 0 replies; 2+ messages in thread
From: Michael Ellerman @ 2018-06-04 14:10 UTC (permalink / raw)
To: Fabio Estevam; +Cc: Fabio Estevam, paulus, linuxppc-dev
On Sat, 2018-05-05 at 03:01:25 UTC, Fabio Estevam wrote:
> From: Fabio Estevam <fabio.estevam@nxp.com>
>
> Structure platform_driver does not need to set the owner field, as this
> will be populated by the driver core.
>
> Generated by scripts/coccinelle/api/platform_no_drv_owner.cocci.
>
> Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/c5cbde2df3951c59dc099dd2e452b5
cheers
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-06-04 14:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-05-05 3:01 [PATCH] powerpc: cpm_gpio: Remove owner assignment from platform_driver Fabio Estevam
2018-06-04 14:10 ` Michael Ellerman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).