summaryrefslogtreecommitdiffstats
path: root/drivers/power
diff options
context:
space:
mode:
authorkbuild test robot <fengguang.wu@intel.com>2017-01-17 00:47:56 +0100
committerSebastian Reichel <sre@kernel.org>2017-01-17 01:10:41 +0100
commitd04ba0a2cbaa103e3a761201b4bab4a2404f416a (patch)
treedcc4c899cffae199ee97db2e7f2601b92a1ce348 /drivers/power
parentpower: supply: pcf50633-charger: Compress return logic into one line. (diff)
downloadlinux-d04ba0a2cbaa103e3a761201b4bab4a2404f416a.tar.xz
linux-d04ba0a2cbaa103e3a761201b4bab4a2404f416a.zip
power: supply: max14656: fix platform_no_drv_owner.cocci warnings
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> Signed-off-by: Sebastian Reichel <sre@kernel.org>
Diffstat (limited to 'drivers/power')
-rw-r--r--drivers/power/supply/max14656_charger_detector.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/power/supply/max14656_charger_detector.c b/drivers/power/supply/max14656_charger_detector.c
index 2fd73e117c13..80f8e5c1b4ec 100644
--- 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 max14656_match_table[] = {
static struct i2c_driver max14656_i2c_driver = {
.driver = {
.name = "max14656",
- .owner = THIS_MODULE,
.of_match_table = max14656_match_table,
},
.probe = max14656_probe,