diff options
author | kbuild test robot <fengguang.wu@intel.com> | 2017-01-17 00:47:56 +0100 |
---|---|---|
committer | Sebastian Reichel <sre@kernel.org> | 2017-01-17 01:10:41 +0100 |
commit | d04ba0a2cbaa103e3a761201b4bab4a2404f416a (patch) | |
tree | dcc4c899cffae199ee97db2e7f2601b92a1ce348 /drivers/power/supply | |
parent | power: supply: pcf50633-charger: Compress return logic into one line. (diff) | |
download | linux-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/supply')
-rw-r--r-- | drivers/power/supply/max14656_charger_detector.c | 1 |
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, |