From: Julia Lawall <julia.lawall@lip6.fr>
To: Chris Packham <chris.packham@alliedtelesis.co.nz>
Cc: kbuild-all@01.org, Jean Delvare <jdelvare@suse.com>,
Guenter Roeck <linux@roeck-us.net>,
linux-hwmon@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH] hwmon: fix platform_no_drv_owner.cocci warnings
Date: Fri, 7 Oct 2016 07:43:40 +0200 (CEST) [thread overview]
Message-ID: <alpine.DEB.2.10.1610070741040.3074@hadrien> (raw)
No need to set .owner here. The core will do it.
Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci
Signed-off-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---
tree: https://github.com/0day-ci/linux
Chris-Packham/hwmon-Add-tc654-driver/20161007-054116
head: 7b9f81e69fbc7077c55136daefe7546cf88925ae
commit: 7b9f81e69fbc7077c55136daefe7546cf88925ae [1/1] hwmon: Add tc654
driver
tc654.c | 1 -
1 file changed, 1 deletion(-)
--- a/drivers/hwmon/tc654.c
+++ b/drivers/hwmon/tc654.c
@@ -517,7 +517,6 @@ MODULE_DEVICE_TABLE(i2c, tc654_id);
static struct i2c_driver tc654_driver = {
.driver = {
.name = "tc654",
- .owner = THIS_MODULE,
.of_match_table = of_match_ptr(tc654_dt_match),
},
.probe = tc654_probe,
reply other threads:[~2016-10-07 5:43 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=alpine.DEB.2.10.1610070741040.3074@hadrien \
--to=julia.lawall@lip6.fr \
--cc=chris.packham@alliedtelesis.co.nz \
--cc=jdelvare@suse.com \
--cc=kbuild-all@01.org \
--cc=linux-hwmon@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@roeck-us.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