Commit b1a55af2 authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Sebastian Reichel

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: default avatarKrzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: default avatarSebastian Reichel <sre@kernel.org>
parent f5bbc91c
...@@ -1534,7 +1534,6 @@ static struct i2c_driver bq24190_driver = { ...@@ -1534,7 +1534,6 @@ static struct i2c_driver bq24190_driver = {
.id_table = bq24190_i2c_ids, .id_table = bq24190_i2c_ids,
.driver = { .driver = {
.name = "bq24190-charger", .name = "bq24190-charger",
.owner = THIS_MODULE,
.pm = &bq24190_pm_ops, .pm = &bq24190_pm_ops,
.of_match_table = of_match_ptr(bq24190_of_match), .of_match_table = of_match_ptr(bq24190_of_match),
}, },
......
...@@ -409,7 +409,6 @@ MODULE_DEVICE_TABLE(of, bq24735_match_ids); ...@@ -409,7 +409,6 @@ MODULE_DEVICE_TABLE(of, bq24735_match_ids);
static struct i2c_driver bq24735_charger_driver = { static struct i2c_driver bq24735_charger_driver = {
.driver = { .driver = {
.name = "bq24735-charger", .name = "bq24735-charger",
.owner = THIS_MODULE,
.of_match_table = bq24735_match_ids, .of_match_table = bq24735_match_ids,
}, },
.probe = bq24735_charger_probe, .probe = bq24735_charger_probe,
......
...@@ -1244,7 +1244,6 @@ static struct i2c_driver pm2xxx_charger_driver = { ...@@ -1244,7 +1244,6 @@ static struct i2c_driver pm2xxx_charger_driver = {
.remove = pm2xxx_wall_charger_remove, .remove = pm2xxx_wall_charger_remove,
.driver = { .driver = {
.name = "pm2xxx-wall_charger", .name = "pm2xxx-wall_charger",
.owner = THIS_MODULE,
.pm = PM2XXX_PM_OPS, .pm = PM2XXX_PM_OPS,
}, },
.id_table = pm2xxx_id, .id_table = pm2xxx_id,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment