mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: David Collins <collinsd@codeaurora.org>
Cc: kbuild-all@01.org, broonie@kernel.org, lgirdwood@gmail.com,
	robh+dt@kernel.org, mark.rutland@arm.com,
	David Collins <collinsd@codeaurora.org>,
	linux-arm-msm@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org,
	linux-arm@lists.infradead.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org, rnayak@codeaurora.org,
	sboyd@kernel.org
Subject: [PATCH] regulator: fix platform_no_drv_owner.cocci warnings
Date: Mon, 19 Mar 2018 04:38:32 +0800	[thread overview]
Message-ID: <20180318203832.GA74597@lkp-hsx03.lkp.intel.com> (raw)
In-Reply-To: <71fab82672524b95632cdb588c16edfc9711866a.1521246069.git.collinsd@codeaurora.org>

From: Fengguang Wu <fengguang.wu@intel.com>

drivers/regulator/qcom_rpmh-regulator.c:1104: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: 835fda5b6c24 ("regulator: add QCOM RPMh regulator driver")
CC: David Collins <collinsd@codeaurora.org>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---

 qcom_rpmh-regulator.c |    1 -
 1 file changed, 1 deletion(-)

--- a/drivers/regulator/qcom_rpmh-regulator.c
+++ b/drivers/regulator/qcom_rpmh-regulator.c
@@ -1101,7 +1101,6 @@ static struct platform_driver rpmh_regul
 	.driver		= {
 		.name		= "qcom-rpmh-regulator",
 		.of_match_table	= rpmh_regulator_match_table,
-		.owner		= THIS_MODULE,
 	},
 	.probe		= rpmh_regulator_probe,
 	.remove		= rpmh_regulator_remove,

  parent reply	other threads:[~2018-03-18 20:39 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-17  1:09 [PATCH 0/2] regulator: add QCOM RPMh regulator driver David Collins
2018-03-17  1:09 ` [PATCH 1/2] " David Collins
2018-03-18 20:38   ` kbuild test robot
2018-03-18 20:38   ` kbuild test robot [this message]
2018-03-19 21:47     ` [PATCH] regulator: fix platform_no_drv_owner.cocci warnings David Collins
2018-03-21  2:16   ` [PATCH 1/2] regulator: add QCOM RPMh regulator driver Doug Anderson
2018-03-22 22:31     ` David Collins
2018-03-23 20:00       ` Doug Anderson
2018-03-27 11:56         ` Mark Brown
2018-03-27 20:51           ` Doug Anderson
2018-03-28  2:28             ` Mark Brown
2018-03-27 23:38           ` David Collins
2018-03-28  2:08             ` Mark Brown
2018-03-27 23:22         ` David Collins
2018-03-21 19:07   ` Stephen Boyd
2018-03-23  1:30     ` David Collins
2018-03-26 15:35       ` Lina Iyer
2018-04-19  5:55       ` Stephen Boyd
2018-04-19 12:08         ` Mark Brown
2018-04-20 19:28           ` David Collins
2018-04-24 17:41             ` Mark Brown
2018-04-24 20:46               ` David Collins
2018-05-17  6:09                 ` Mark Brown
2018-05-17 20:48                   ` David Collins
2018-05-22 16:36                     ` Mark Brown
2018-04-20 19:07         ` David Collins
2018-04-20 22:44           ` Lina Iyer
2018-04-24 20:33             ` David Collins
2018-03-29 22:36     ` Doug Anderson
2018-03-17  1:09 ` [PATCH 2/2] dt-bindings: regulator: add QCOM RPMh regulator bindings David Collins
2018-03-21  2:16   ` Doug Anderson
2018-03-21 23:54     ` David Collins
2018-03-21  2:43   ` Mark Brown
2018-03-27 23:48     ` David Collins

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=20180318203832.GA74597@lkp-hsx03.lkp.intel.com \
    --to=lkp@intel.com \
    --cc=broonie@kernel.org \
    --cc=collinsd@codeaurora.org \
    --cc=devicetree@vger.kernel.org \
    --cc=kbuild-all@01.org \
    --cc=lgirdwood@gmail.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-arm@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mark.rutland@arm.com \
    --cc=rnayak@codeaurora.org \
    --cc=robh+dt@kernel.org \
    --cc=sboyd@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

all inboxes | Powered by JetHome®