From: kbuild test robot <fengguang.wu@intel.com>
To: Venkat Reddy Talla <vreddytalla@nvidia.com>
Cc: kbuild-all@01.org, Mark Brown <broonie@kernel.org>,
Laxman Dewangan <ldewangan@nvidia.com>,
Liam Girdwood <lgirdwood@gmail.com>,
linux-kernel@vger.kernel.org
Subject: [PATCH] regulator: tps65132: fix platform_no_drv_owner.cocci warnings
Date: Fri, 14 Apr 2017 04:57:35 +0800 [thread overview]
Message-ID: <20170413205730.GA23818@lkp-ib03.lkp.intel.com> (raw)
In-Reply-To: <201704140421.WwQelRhN%fengguang.wu@intel.com>
drivers/regulator/tps65132-regulator.c:274: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: Venkat Reddy Talla <vreddytalla@nvidia.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---
tps65132-regulator.c | 1 -
1 file changed, 1 deletion(-)
--- a/drivers/regulator/tps65132-regulator.c
+++ b/drivers/regulator/tps65132-regulator.c
@@ -271,7 +271,6 @@ MODULE_DEVICE_TABLE(i2c, tps65132_id);
static struct i2c_driver tps65132_i2c_driver = {
.driver = {
.name = "tps65132",
- .owner = THIS_MODULE,
},
.probe = tps65132_probe,
.id_table = tps65132_id,
next parent reply other threads:[~2017-04-13 20:57 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <201704140421.WwQelRhN%fengguang.wu@intel.com>
2017-04-13 20:57 ` kbuild test robot [this message]
2017-04-14 8:46 ` Laxman Dewangan
2017-04-14 17:12 ` Applied "regulator: tps65132: fix platform_no_drv_owner.cocci warnings" to the regulator tree Mark Brown
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=20170413205730.GA23818@lkp-ib03.lkp.intel.com \
--to=fengguang.wu@intel.com \
--cc=broonie@kernel.org \
--cc=kbuild-all@01.org \
--cc=ldewangan@nvidia.com \
--cc=lgirdwood@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=vreddytalla@nvidia.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
all inboxes | Powered by JetHome®