summaryrefslogtreecommitdiffstats
path: root/drivers/power/bq24190_charger.c
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>2015-07-10 07:39:22 +0200
committerSebastian Reichel <sre@kernel.org>2015-07-13 13:48:29 +0200
commitb1a55af2773d5e4d30b748517fedfac26fc5fd81 (patch)
tree5c952cb5937e49862a9b7a3aad801e277c89e3f3 /drivers/power/bq24190_charger.c
parentpower_supply: rt9455_charger: Properly notify userspace about charging events (diff)
downloadlinux-b1a55af2773d5e4d30b748517fedfac26fc5fd81.tar.xz
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/bq24190_charger.c')
-rw-r--r--drivers/power/bq24190_charger.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/power/bq24190_charger.c b/drivers/power/bq24190_charger.c
index 052db78c3736..703ebecaf38b 100644
--- a/drivers/power/bq24190_charger.c
+++ b/drivers/power/bq24190_charger.c
@@ -1534,7 +1534,6 @@ static struct i2c_driver bq24190_driver = {
.id_table = bq24190_i2c_ids,
.driver = {
.name = "bq24190-charger",
- .owner = THIS_MODULE,
.pm = &bq24190_pm_ops,
.of_match_table = of_match_ptr(bq24190_of_match),
},