summaryrefslogtreecommitdiff
path: root/drivers/power
diff options
context:
space:
mode:
authorkbuild test robot <fengguang.wu@intel.com>2017-01-17 07:47:56 +0800
committerSebastian Reichel <sre@kernel.org>2017-01-17 01:10:41 +0100
commitd04ba0a2cbaa103e3a761201b4bab4a2404f416a (patch)
treedcc4c899cffae199ee97db2e7f2601b92a1ce348 /drivers/power
parente448e2d14905d3d45c07fcac5b6d652283ba55b0 (diff)
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,