From: kbuild test robot <lkp@intel.com>
To: Heiko Schocher <hs@denx.de>
Cc: kbuild-all@01.org, linux-kernel@vger.kernel.org,
Heiko Schocher <hs@denx.de>,
devicetree@vger.kernel.org, Liam Girdwood <lgirdwood@gmail.com>,
Mark Brown <broonie@kernel.org>
Subject: [PATCH] regulator, dt: fix platform_no_drv_owner.cocci warnings
Date: Mon, 26 Oct 2015 17:25:00 +0800 [thread overview]
Message-ID: <20151026092500.GA41277@xian> (raw)
In-Reply-To: <1445849174-3446-1-git-send-email-hs@denx.de>
drivers/regulator/tps65023-regulator.c:543: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
CC: Heiko Schocher <hs@denx.de>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---
tps65023-regulator.c | 1 -
1 file changed, 1 deletion(-)
--- a/drivers/regulator/tps65023-regulator.c
+++ b/drivers/regulator/tps65023-regulator.c
@@ -540,7 +540,6 @@ static int tps_65023_probe(struct i2c_cl
static struct i2c_driver tps_65023_i2c_driver = {
.driver = {
.name = "tps65023",
- .owner = THIS_MODULE,
.of_match_table = of_match_ptr(tps6502x_of_match),
},
.probe = tps_65023_probe,
prev parent reply other threads:[~2015-10-26 9:27 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-26 8:46 [PATCH v2] regulator, dt: add dt support for tps6502x regulator Heiko Schocher
2015-10-26 9:24 ` kbuild test robot
2015-10-26 9:25 ` 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=20151026092500.GA41277@xian \
--to=lkp@intel.com \
--cc=broonie@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=hs@denx.de \
--cc=kbuild-all@01.org \
--cc=lgirdwood@gmail.com \
--cc=linux-kernel@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