From: kbuild test robot <lkp@intel.com>
To: Crestez Dan Leonard <leonard.crestez@intel.com>
Cc: kbuild-all@01.org, Jonathan Cameron <jic23@kernel.org>,
linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org,
Hartmut Knaack <knaack.h@gmx.de>,
Lars-Peter Clausen <lars@metafoo.de>,
Peter Meerwald-Stadler <pmeerw@pmeerw.net>,
Daniel Baluta <daniel.baluta@intel.com>,
Crestez Dan Leonard <leonard.crestez@intel.com>
Subject: [PATCH] iio: fix platform_no_drv_owner.cocci warnings
Date: Sat, 18 Jun 2016 05:20:44 +0800 [thread overview]
Message-ID: <20160617212044.GA178988@ivytown2> (raw)
In-Reply-To: <cfa05b01fcdcdc7ec5d3e5a7bb937122162d1176.1466161813.git.leonard.crestez@intel.com>
drivers/iio/light/si1145.c:1336: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: Peter Meerwald <pmeerw@pmeerw.net>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---
si1145.c | 1 -
1 file changed, 1 deletion(-)
--- a/drivers/iio/light/si1145.c
+++ b/drivers/iio/light/si1145.c
@@ -1333,7 +1333,6 @@ static int si1145_remove(struct i2c_clie
static struct i2c_driver si1145_driver = {
.driver = {
.name = "si1145",
- .owner = THIS_MODULE,
},
.probe = si1145_probe,
.remove = si1145_remove,
next prev parent reply other threads:[~2016-06-17 21:22 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-17 11:10 [PATCH v3] iio: Add driver for Silabs si1132, si1141/2/3 and si1145/6/7 ambient light, uv index and proximity sensors Crestez Dan Leonard
2016-06-17 21:20 ` kbuild test robot [this message]
2016-06-17 21:20 ` kbuild test robot
2016-06-19 11:57 ` Jonathan Cameron
2016-06-21 14:37 ` Crestez Dan Leonard
2016-06-26 15:18 ` Jonathan Cameron
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=20160617212044.GA178988@ivytown2 \
--to=lkp@intel.com \
--cc=daniel.baluta@intel.com \
--cc=jic23@kernel.org \
--cc=kbuild-all@01.org \
--cc=knaack.h@gmx.de \
--cc=lars@metafoo.de \
--cc=leonard.crestez@intel.com \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=pmeerw@pmeerw.net \
/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