From: kbuild test robot <fengguang.wu@intel.com>
To: Andreas Dannenberg <dannenberg@ti.com>
Cc: kbuild-all@01.org, Jonathan Cameron <jic23@kernel.org>,
Felipe Balbi <balbi@ti.com>, Hartmut Knaack <knaack.h@gmx.de>,
Lars-Peter Clausen <lars@metafoo.de>,
Peter Meerwald <pmeerw@pmeerw.net>,
linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH] iio: light: fix platform_no_drv_owner.cocci warnings
Date: Sun, 30 Aug 2015 16:46:57 +0800 [thread overview]
Message-ID: <20150830084657.GA58183@lkp-sb04> (raw)
In-Reply-To: <201508301646.pc4xpAKe%fengguang.wu@intel.com>
drivers/iio/light/opt3001.c:796: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: Andreas Dannenberg <dannenberg@ti.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---
opt3001.c | 1 -
1 file changed, 1 deletion(-)
--- a/drivers/iio/light/opt3001.c
+++ b/drivers/iio/light/opt3001.c
@@ -793,7 +793,6 @@ static struct i2c_driver opt3001_driver
.driver = {
.name = "opt3001",
.of_match_table = of_match_ptr(opt3001_of_match),
- .owner = THIS_MODULE,
},
};
next parent reply other threads:[~2015-08-30 8:46 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <201508301646.pc4xpAKe%fengguang.wu@intel.com>
2015-08-30 8:46 ` kbuild test robot [this message]
2015-08-31 15:11 ` [PATCH] iio: light: fix platform_no_drv_owner.cocci warnings Jonathan Cameron
[not found] <201509221047.iRuxezuD%fengguang.wu@intel.com>
[not found] ` <20150922022148.GA7041@lkp-sb04>
2015-09-23 19:06 ` 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=20150830084657.GA58183@lkp-sb04 \
--to=fengguang.wu@intel.com \
--cc=balbi@ti.com \
--cc=dannenberg@ti.com \
--cc=jic23@kernel.org \
--cc=kbuild-all@01.org \
--cc=knaack.h@gmx.de \
--cc=lars@metafoo.de \
--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;
as well as URLs for NNTP newsgroup(s).