summaryrefslogtreecommitdiff
path: root/drivers/power/bq24735-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/bq24735-charger.c
parentf5bbc91c88c18a4c518f066cc4e784d7b5fb9735 (diff)
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/bq24735-charger.c')
-rw-r--r--drivers/power/bq24735-charger.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/power/bq24735-charger.c b/drivers/power/bq24735-charger.c
index 961a18930027..b0174379713c 100644
--- a/drivers/power/bq24735-charger.c
+++ b/drivers/power/bq24735-charger.c
@@ -409,7 +409,6 @@ MODULE_DEVICE_TABLE(of, bq24735_match_ids);
static struct i2c_driver bq24735_charger_driver = {
.driver = {
.name = "bq24735-charger",
- .owner = THIS_MODULE,
.of_match_table = bq24735_match_ids,
},
.probe = bq24735_charger_probe,