Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1560172
| Path | csiph.com!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | kbuild test robot <fengguang.wu@intel.com> |
| Newsgroups | linux.kernel |
| Subject | [PATCH] power: supply: fix platform_no_drv_owner.cocci warnings |
| Date | Tue, 17 Jan 2017 00:50:01 +0100 |
| Message-ID | <t0pcd-7IE-9@gated-at.bofh.it> (permalink) |
| References | <t0pcd-7IE-11@gated-at.bofh.it> |
| X-Original-To | Alexander Kurz <akurz@blala.de> |
| X-Extloop1 | 1 |
| X-Ironport-Av | E=Sophos;i="5.33,241,1477983600"; d="scan'208";a="1094910076" |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=us-ascii |
| Content-Disposition | inline |
| User-Agent | Mutt/1.5.23 (2014-03-12) |
| X-Sa-Exim-Connect-IP | <locally generated> |
| X-Sa-Exim-Mail-From | fengguang.wu@intel.com |
| X-Sa-Exim-Scanned | No (on bee); SAEximRunCond expanded to false |
| Sender | robomod@news.nic.it |
| List-ID | <linux-kernel.vger.kernel.org> |
| X-Mailing-List | linux-kernel@vger.kernel.org |
| Approved | robomod@news.nic.it |
| Lines | 23 |
| Organization | linux.* mail to news gateway |
| X-Original-Cc | kbuild-all@01.org, Sebastian Reichel <sre@kernel.org>, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org |
| X-Original-Date | Tue, 17 Jan 2017 07:47:56 +0800 |
| X-Original-Message-ID | <20170116234756.GA21086@intel11.lkp.intel.com> |
| X-Original-References | <201701170752.5rCKgr4i%fengguang.wu@intel.com> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | csiph.com linux.kernel:1560172 |
Show key headers only | View raw
drivers/power/supply/max14656_charger_detector.c:317: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: Alexander Kurz <akurz@blala.de>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---
max14656_charger_detector.c | 1 -
1 file changed, 1 deletion(-)
--- a/drivers/power/supply/max14656_charger_detector.c
+++ b/drivers/power/supply/max14656_charger_detector.c
@@ -314,7 +314,6 @@ static const struct of_device_id max1465
static struct i2c_driver max14656_i2c_driver = {
.driver = {
.name = "max14656",
- .owner = THIS_MODULE,
.of_match_table = max14656_match_table,
},
.probe = max14656_probe,
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH] power: supply: fix platform_no_drv_owner.cocci warnings kbuild test robot <fengguang.wu@intel.com> - 2017-01-17 00:50 +0100 Re: [PATCH] power: supply: fix platform_no_drv_owner.cocci warnings Sebastian Reichel <sre@kernel.org> - 2017-01-17 01:20 +0100
csiph-web