From: Fabio Estevam <fabio.estevam@freescale.com>
To: linus.walleij@linaro.org
Cc: linux-gpio@vger.kernel.org, Fabio Estevam <fabio.estevam@freescale.com>
Subject: [PATCH 1/7] pinctrl: imx7d: Remove .owner field
Date: Mon, 1 Jun 2015 09:53:59 -0300 [thread overview]
Message-ID: <1433163245-5780-1-git-send-email-fabio.estevam@freescale.com> (raw)
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
next reply other threads:[~2015-06-01 12:54 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-01 12:53 Fabio Estevam [this message]
2015-06-01 12:54 ` [PATCH 2/7] pinctrl: amd: Remove .owner field 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1433163245-5780-1-git-send-email-fabio.estevam@freescale.com \
--to=fabio.estevam@freescale.com \
--cc=linus.walleij@linaro.org \
--cc=linux-gpio@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).