From: kbuild test robot <lkp@intel.com>
To: James Bans <James.Ban.opensource@diasemi.com>
Cc: kbuild-all@01.org, LINUXKERNEL <linux-kernel@vger.kernel.org>,
Liam Girdwood <lgirdwood@gmail.com>,
Mark Brown <broonie@kernel.org>,
David Dajun Chen <david.chen@diasemi.com>,
Support Opensource <support.opensource@diasemi.com>
Subject: [PATCH] regulator: pv88090: fix platform_no_drv_owner.cocci warnings
Date: Mon, 16 Nov 2015 11:04:15 +0800 [thread overview]
Message-ID: <20151116030414.GA28438@lkp-nhm1> (raw)
In-Reply-To: <201511160213.tAG2DCwC038467@krsrvapps-01.diasemi.com>
drivers/regulator/pv88090-regulator.c:471: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: James Ban <James.Ban.opensource@diasemi.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---
pv88090-regulator.c | 1 -
1 file changed, 1 deletion(-)
--- a/drivers/regulator/pv88090-regulator.c
+++ b/drivers/regulator/pv88090-regulator.c
@@ -468,7 +468,6 @@ MODULE_DEVICE_TABLE(of, pv88090_dt_ids);
static struct i2c_driver pv88090_regulator_driver = {
.driver = {
.name = "pv88090",
- .owner = THIS_MODULE,
.of_match_table = of_match_ptr(pv88090_dt_ids),
},
.probe = pv88090_i2c_probe,
next prev parent reply other threads:[~2015-11-16 3:06 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-16 2:07 [PATCH V1] regulator: pv88090: new regulator driver James Bans
2015-11-16 3:04 ` kbuild test robot
2015-11-16 3:04 ` kbuild test robot [this message]
2015-11-16 3:04 ` [PATCH] regulator: pv88090: fix semicolon.cocci warnings kbuild test robot
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=20151116030414.GA28438@lkp-nhm1 \
--to=lkp@intel.com \
--cc=James.Ban.opensource@diasemi.com \
--cc=broonie@kernel.org \
--cc=david.chen@diasemi.com \
--cc=kbuild-all@01.org \
--cc=lgirdwood@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=support.opensource@diasemi.com \
/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