linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
Cc: kbuild-all@01.org, linus.walleij@linaro.org,
	mark.rutland@arm.com, robh+dt@kernel.org,
	linux-gpio@vger.kernel.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org, broonie@kernel.org,
	baolin.wang@linaro.org, baolin.wang@spreadtrum.com
Subject: [PATCH] pinctrl: sprd: fix platform_no_drv_owner.cocci warnings
Date: Sat, 15 Jul 2017 10:33:00 +0800	[thread overview]
Message-ID: <20170715023300.GA142115@ivb42> (raw)
In-Reply-To: <f41270ddc53d11b746c2cc7c66b323e11381938f.1500018536.git.baolin.wang@spreadtrum.com>

drivers/pinctrl/sprd/pinctrl-sprd-sc9860.c:950:3-8: No need to set .owner here. The core will do it.

 Remove .owner field if calls are used which set it automatically

Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci

Fixes: c4e438f44054 ("pinctrl: sprd: Add Spreadtrum pin control driver")
CC: Baolin Wang <baolin.wang@spreadtrum.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---

 pinctrl-sprd-sc9860.c |    1 -
 1 file changed, 1 deletion(-)

--- a/drivers/pinctrl/sprd/pinctrl-sprd-sc9860.c
+++ b/drivers/pinctrl/sprd/pinctrl-sprd-sc9860.c
@@ -947,7 +947,6 @@ MODULE_DEVICE_TABLE(of, sprd_pinctrl_of_
 static struct platform_driver sprd_pinctrl_driver = {
 	.driver = {
 		.name = "sprd-pinctrl",
-		.owner = THIS_MODULE,
 		.of_match_table = sprd_pinctrl_of_match,
 	},
 	.probe = sprd_pinctrl_probe,

  reply	other threads:[~2017-07-15  2:33 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-14  8:08 [PATCH v5 1/3] pinctrl: Add sleep related state to indicate sleep related configs Baolin Wang
     [not found] ` <eb7925c9642efb8a1ee5804a9b06f06d9f082089.1500018536.git.baolin.wang-lxIno14LUO0EEoCn2XhGlw@public.gmane.org>
2017-07-14  8:08   ` [PATCH v5 2/3] dt-bindings: pinctrl: Add Spreadtrum SC9860 pin controller Baolin Wang
2017-08-31  7:20     ` [RESEND PATCH " Linus Walleij
2017-08-02  6:50   ` [PATCH v5 1/3] pinctrl: Add sleep related state to indicate sleep related configs Baolin Wang
2017-08-31  7:16   ` [RESEND PATCH " Linus Walleij
2017-08-31  8:07     ` Baolin Wang
2017-07-14  8:08 ` [PATCH v5 3/3] pinctrl: sprd: Add Spreadtrum pin control driver Baolin Wang
2017-07-15  2:33   ` kbuild test robot [this message]
     [not found]   ` <f41270ddc53d11b746c2cc7c66b323e11381938f.1500018536.git.baolin.wang-lxIno14LUO0EEoCn2XhGlw@public.gmane.org>
2017-07-15  2:33     ` kbuild test robot
2017-08-31  7:25     ` [RESEND PATCH " Linus Walleij
     [not found]       ` <CACRpkdZ=mHqGX0sdjWaOOvib9O-bW5tJoO1fJ4_-hxKODBusjw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-08-31  8:46         ` Baolin Wang

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=20170715023300.GA142115@ivb42 \
    --to=lkp@intel.com \
    --cc=baolin.wang@linaro.org \
    --cc=baolin.wang@spreadtrum.com \
    --cc=broonie@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=kbuild-all@01.org \
    --cc=linus.walleij@linaro.org \
    --cc=linux-gpio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mark.rutland@arm.com \
    --cc=robh+dt@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).