summaryrefslogtreecommitdiffstats
path: root/drivers/power/pm2301_charger.c
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>2015-07-10 14:39:22 +0900
committerSebastian Reichel <sre@kernel.org>2015-07-13 13:48:29 +0200
commitb1a55af2773d5e4d30b748517fedfac26fc5fd81 (patch)
tree5c952cb5937e49862a9b7a3aad801e277c89e3f3 /drivers/power/pm2301_charger.c
parentf5bbc91c88c18a4c518f066cc4e784d7b5fb9735 (diff)
downloadtalos-op-linux-b1a55af2773d5e4d30b748517fedfac26fc5fd81.tar.gz
talos-op-linux-b1a55af2773d5e4d30b748517fedfac26fc5fd81.zip
power_supply: Drop owner assignment from i2c_driver
i2c_driver does not need to set an owner because i2c_register_driver() will set it. Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com> Signed-off-by: Sebastian Reichel <sre@kernel.org>
Diffstat (limited to 'drivers/power/pm2301_charger.c')
-rw-r--r--drivers/power/pm2301_charger.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/power/pm2301_charger.c b/drivers/power/pm2301_charger.c
index cc0893ffbf7e..3a45cc0c4dce 100644
--- a/drivers/power/pm2301_charger.c
+++ b/drivers/power/pm2301_charger.c
@@ -1244,7 +1244,6 @@ static struct i2c_driver pm2xxx_charger_driver = {
.remove = pm2xxx_wall_charger_remove,
.driver = {
.name = "pm2xxx-wall_charger",
- .owner = THIS_MODULE,
.pm = PM2XXX_PM_OPS,
},
.id_table = pm2xxx_id,
OpenPOWER on IntegriCloud