linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/7] pinctrl: imx7d: Remove .owner field
@ 2015-06-01 12:53 Fabio Estevam
  2015-06-01 12:54 ` [PATCH 2/7] pinctrl: amd: " Fabio Estevam
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Fabio Estevam @ 2015-06-01 12:53 UTC (permalink / raw)
  To: linus.walleij; +Cc: linux-gpio, Fabio Estevam

platform_driver does not need to set the owner field, as it will be 
populated by the driver core, so just remove it.

The semantic patch that makes this change is available
in scripts/coccinelle/api/platform_no_drv_owner.cocci.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
 drivers/pinctrl/freescale/pinctrl-imx7d.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/pinctrl/freescale/pinctrl-imx7d.c b/drivers/pinctrl/freescale/pinctrl-imx7d.c
index d8ab17e..1fa7530 100644
--- a/drivers/pinctrl/freescale/pinctrl-imx7d.c
+++ b/drivers/pinctrl/freescale/pinctrl-imx7d.c
@@ -361,7 +361,6 @@ static int imx7d_pinctrl_probe(struct platform_device *pdev)
 static struct platform_driver imx7d_pinctrl_driver = {
 	.driver = {
 		.name = "imx7d-pinctrl",
-		.owner = THIS_MODULE,
 		.of_match_table = of_match_ptr(imx7d_pinctrl_of_match),
 	},
 	.probe = imx7d_pinctrl_probe,
-- 
1.9.1


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

end of thread, other threads:[~2015-06-04  8:13 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-01 12:53 [PATCH 1/7] pinctrl: imx7d: Remove .owner field Fabio Estevam
2015-06-01 12:54 ` [PATCH 2/7] pinctrl: amd: " Fabio Estevam
2015-06-01 12:54 ` [PATCH 3/7] pinctrl: sun6i-a31s: " Fabio Estevam
2015-06-01 12:54 ` [PATCH 4/7] pinctrl: mt8135: " Fabio Estevam
2015-06-01 12:54 ` [PATCH 5/7] pinctrl: mt8127: " Fabio Estevam
2015-06-01 12:54 ` [PATCH 6/7] pinctrl: mt6397: " Fabio Estevam
2015-06-01 12:54 ` [PATCH 7/7] pinctrl: atlas7: " Fabio Estevam
2015-06-04  8:13 ` [PATCH 1/7] pinctrl: imx7d: " Linus Walleij

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