linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Fabien Parent <fparent@baylibre.com>
Cc: kbuild-all@lists.01.org, linux-gpio@vger.kernel.org,
	Linus Walleij <linus.walleij@linaro.org>
Subject: [PATCH] pinctrl: mediatek: fix platform_no_drv_owner.cocci warnings
Date: Sat, 26 Jun 2021 13:15:50 +0800	[thread overview]
Message-ID: <20210626051550.GA37544@d0c207d51ce8> (raw)
In-Reply-To: <202106261334.j23TFDJm-lkp@intel.com>

From: kernel test robot <lkp@intel.com>

drivers/pinctrl/mediatek/pinctrl-mt8365.c:488: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: e94d8b6fb83a ("pinctrl: mediatek: add support for mt8365 SoC")
CC: Fabien Parent <fparent@baylibre.com>
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: kernel test robot <lkp@intel.com>
---

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl.git devel
head:   db0f032512443678d30aa26c247099220e3e5aee
commit: e94d8b6fb83a81fa8c6595fadcada7b349e7694a [16/44] pinctrl: mediatek: add support for mt8365 SoC
:::::: branch date: 5 hours ago
:::::: commit date: 4 weeks ago

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

--- a/drivers/pinctrl/mediatek/pinctrl-mt8365.c
+++ b/drivers/pinctrl/mediatek/pinctrl-mt8365.c
@@ -485,7 +485,6 @@ static struct platform_driver mtk_pinctr
 	.probe = mtk_pinctrl_probe,
 	.driver = {
 		.name = "mediatek-mt8365-pinctrl",
-		.owner = THIS_MODULE,
 		.of_match_table = mt8365_pctrl_match,
 		.pm = &mtk_eint_pm_ops,
 	},

  reply	other threads:[~2021-06-26  5:16 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-26  5:15 [pinctrl:devel 16/44] drivers/pinctrl/mediatek/pinctrl-mt8365.c:488:3-8: No need to set .owner here. The core will do it kernel test robot
2021-06-26  5:15 ` kernel test robot [this message]
2021-07-23 16:11   ` [PATCH] pinctrl: mediatek: fix platform_no_drv_owner.cocci warnings Linus Walleij
     [not found] <202107151930.RDfhAWvb-lkp@intel.com>
2021-07-15 11:12 ` kernel test robot
     [not found] <201602170605.jhwKTr8k%fengguang.wu@intel.com>
2016-02-16 22:06 ` kbuild test robot
2016-02-18 23:25   ` 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=20210626051550.GA37544@d0c207d51ce8 \
    --to=lkp@intel.com \
    --cc=fparent@baylibre.com \
    --cc=kbuild-all@lists.01.org \
    --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).