From: kbuild test robot <fengguang.wu@intel.com>
To: Andrei.Stefanescu@microchip.com
Cc: kbuild-all@01.org, lgirdwood@gmail.com, robh+dt@kernel.org,
mark.rutland@arm.com, gregkh@linuxfoundation.org,
Nicolas.Ferre@microchip.com, Cristian.Birsan@microchip.com,
Claudiu.Beznea@microchip.com,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, devicetree@vger.kernel.org,
Andrei.Stefanescu@microchip.com
Subject: [PATCH] regulator: mcp16502: fix platform_no_drv_owner.cocci warnings
Date: Wed, 28 Nov 2018 12:02:13 +0800 [thread overview]
Message-ID: <20181128040213.GA30252@lkp-ne04> (raw)
In-Reply-To: <1543335937-12689-4-git-send-email-andrei.stefanescu@microchip.com>
From: kbuild test robot <fengguang.wu@intel.com>
drivers/regulator/mcp16502.c:530: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: 9199c277faeb ("regulator: mcp16502: add regulator driver for MCP16502")
CC: Andrei.Stefanescu@microchip.com <Andrei.Stefanescu@microchip.com>
Signed-off-by: kbuild test robot <fengguang.wu@intel.com>
---
url: https://github.com/0day-ci/linux/commits/Andrei-Stefanescu-microchip-com/add-support-for-MCP16502-PMIC/20181128-041809
base: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-next
mcp16502.c | 1 -
1 file changed, 1 deletion(-)
--- a/drivers/regulator/mcp16502.c
+++ b/drivers/regulator/mcp16502.c
@@ -527,7 +527,6 @@ static struct i2c_driver mcp16502_drv =
.probe = mcp16502_probe,
.driver = {
.name = "mcp16502-regulator",
- .owner = THIS_MODULE,
.of_match_table = of_match_ptr(mcp16502_ids),
.pm = &mcp16502_pm_ops,
},
prev parent reply other threads:[~2018-11-28 4:02 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-11-27 16:25 [PATCH v2 0/3] add support for MCP16502 PMIC Andrei.Stefanescu
2018-11-27 16:25 ` [PATCH v2 1/3] regulator: dt-bindings: add MCP16502 regulator bindings Andrei.Stefanescu
2018-11-27 16:25 ` [PATCH v2 2/3] MAINTAINERS: add maintainer for MCP16502 PMIC driver Andrei.Stefanescu
2018-11-27 16:25 ` [PATCH v2 3/3] regulator: mcp16502: add regulator driver for MCP16502 Andrei.Stefanescu
2018-11-28 3:28 ` kbuild test robot
2018-11-28 4:02 ` kbuild test robot
2018-11-28 4:02 ` kbuild test robot [this message]
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=20181128040213.GA30252@lkp-ne04 \
--to=fengguang.wu@intel.com \
--cc=Andrei.Stefanescu@microchip.com \
--cc=Claudiu.Beznea@microchip.com \
--cc=Cristian.Birsan@microchip.com \
--cc=Nicolas.Ferre@microchip.com \
--cc=devicetree@vger.kernel.org \
--cc=gregkh@linuxfoundation.org \
--cc=kbuild-all@01.org \
--cc=lgirdwood@gmail.com \
--cc=linux-arm-kernel@lists.infradead.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).