linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
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 4/7] pinctrl: mt8135: Remove .owner field
Date: Mon, 1 Jun 2015 09:54:02 -0300	[thread overview]
Message-ID: <1433163245-5780-4-git-send-email-fabio.estevam@freescale.com> (raw)
In-Reply-To: <1433163245-5780-1-git-send-email-fabio.estevam@freescale.com>

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/mediatek/pinctrl-mt8135.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/pinctrl/mediatek/pinctrl-mt8135.c b/drivers/pinctrl/mediatek/pinctrl-mt8135.c
index 203bd2a..404f117 100644
--- a/drivers/pinctrl/mediatek/pinctrl-mt8135.c
+++ b/drivers/pinctrl/mediatek/pinctrl-mt8135.c
@@ -357,7 +357,6 @@ static struct platform_driver mtk_pinctrl_driver = {
 	.probe = mt8135_pinctrl_probe,
 	.driver = {
 		.name = "mediatek-mt8135-pinctrl",
-		.owner = THIS_MODULE,
 		.of_match_table = mt8135_pctrl_match,
 	},
 };
-- 
1.9.1


  parent reply	other threads:[~2015-06-01 13:08 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 ` Fabio Estevam [this message]
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-4-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).