From: kbuild test robot <lkp@intel.com>
To: s.abhisit@gmail.com
Cc: kbuild-all@01.org, lee.jones@linaro.org,
linux-kernel@vger.kernel.org,
Abhisit Sangjan <s.abhisit@gmail.com>
Subject: [PATCH] mfd: fix platform_no_drv_owner.cocci warnings
Date: Wed, 2 Aug 2017 00:34:20 +0800 [thread overview]
Message-ID: <20170801163420.GA56853@lkp-nex06.lkp.intel.com> (raw)
In-Reply-To: <1501578494-4349-1-git-send-email-s.abhisit@gmail.com>
drivers/mfd/lmp92001-i2c.c:192:25-30: 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: 586a684127af ("mfd: Add support for TI LMP92001 driver")
CC: Abhisit Sangjan <s.abhisit@gmail.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---
lmp92001-i2c.c | 1 -
1 file changed, 1 deletion(-)
--- a/drivers/mfd/lmp92001-i2c.c
+++ b/drivers/mfd/lmp92001-i2c.c
@@ -189,7 +189,6 @@ static int lmp92001_i2c_detect(struct i2
static struct i2c_driver lmp92001_i2c_driver = {
.driver = {
- .owner = THIS_MODULE,
.name = "lmp92001",
.of_match_table = of_match_ptr(lmp92001_dt_ids),
},
next prev parent reply other threads:[~2017-08-01 16:35 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-01 16:34 [PATCH 1/5] mfd: Add support for TI LMP92001 driver kbuild test robot
2017-08-01 9:08 ` s.abhisit
2017-08-01 16:34 ` kbuild test robot [this message]
2017-08-08 10:37 ` Lee Jones
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=20170801163420.GA56853@lkp-nex06.lkp.intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@01.org \
--cc=lee.jones@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=s.abhisit@gmail.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®