mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-23 09:56:00 +00:00
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>
This commit is contained in:
parent
f5bbc91c88
commit
b1a55af277
@ -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),
|
||||
},
|
||||
|
@ -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,
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user