regulator: drivers: 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: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
d770e558e2
commit
a807a6cc29
|
@ -530,7 +530,6 @@ MODULE_DEVICE_TABLE(i2c, act8865_ids);
|
|||
static struct i2c_driver act8865_pmic_driver = {
|
||||
.driver = {
|
||||
.name = "act8865",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = act8865_pmic_probe,
|
||||
.id_table = act8865_ids,
|
||||
|
|
|
@ -184,7 +184,6 @@ MODULE_DEVICE_TABLE(i2c, da9210_i2c_id);
|
|||
static struct i2c_driver da9210_regulator_driver = {
|
||||
.driver = {
|
||||
.name = "da9210",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = da9210_i2c_probe,
|
||||
.id_table = da9210_i2c_id,
|
||||
|
|
|
@ -494,7 +494,6 @@ MODULE_DEVICE_TABLE(of, da9211_dt_ids);
|
|||
static struct i2c_driver da9211_regulator_driver = {
|
||||
.driver = {
|
||||
.name = "da9211",
|
||||
.owner = THIS_MODULE,
|
||||
.of_match_table = of_match_ptr(da9211_dt_ids),
|
||||
},
|
||||
.probe = da9211_i2c_probe,
|
||||
|
|
|
@ -156,7 +156,6 @@ MODULE_DEVICE_TABLE(i2c, isl6271a_id);
|
|||
static struct i2c_driver isl6271a_i2c_driver = {
|
||||
.driver = {
|
||||
.name = "isl6271a",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = isl6271a_probe,
|
||||
.id_table = isl6271a_id,
|
||||
|
|
|
@ -195,7 +195,6 @@ MODULE_DEVICE_TABLE(i2c, isl9305_i2c_id);
|
|||
static struct i2c_driver isl9305_regulator_driver = {
|
||||
.driver = {
|
||||
.name = "isl9305",
|
||||
.owner = THIS_MODULE,
|
||||
.of_match_table = of_match_ptr(isl9305_dt_ids),
|
||||
},
|
||||
.probe = isl9305_i2c_probe,
|
||||
|
|
|
@ -452,7 +452,6 @@ MODULE_DEVICE_TABLE(i2c, lp3971_i2c_id);
|
|||
static struct i2c_driver lp3971_i2c_driver = {
|
||||
.driver = {
|
||||
.name = "LP3971",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = lp3971_i2c_probe,
|
||||
.id_table = lp3971_i2c_id,
|
||||
|
|
|
@ -550,7 +550,6 @@ MODULE_DEVICE_TABLE(i2c, lp3972_i2c_id);
|
|||
static struct i2c_driver lp3972_i2c_driver = {
|
||||
.driver = {
|
||||
.name = "lp3972",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = lp3972_i2c_probe,
|
||||
.id_table = lp3972_i2c_id,
|
||||
|
|
|
@ -955,7 +955,6 @@ MODULE_DEVICE_TABLE(i2c, lp872x_ids);
|
|||
static struct i2c_driver lp872x_driver = {
|
||||
.driver = {
|
||||
.name = "lp872x",
|
||||
.owner = THIS_MODULE,
|
||||
.of_match_table = of_match_ptr(lp872x_dt_ids),
|
||||
},
|
||||
.probe = lp872x_probe,
|
||||
|
|
|
@ -542,7 +542,6 @@ MODULE_DEVICE_TABLE(i2c, ltc3589_i2c_id);
|
|||
static struct i2c_driver ltc3589_driver = {
|
||||
.driver = {
|
||||
.name = DRIVER_NAME,
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = ltc3589_probe,
|
||||
.id_table = ltc3589_i2c_id,
|
||||
|
|
|
@ -304,7 +304,6 @@ static struct i2c_driver max1586_pmic_driver = {
|
|||
.probe = max1586_pmic_probe,
|
||||
.driver = {
|
||||
.name = "max1586",
|
||||
.owner = THIS_MODULE,
|
||||
.of_match_table = of_match_ptr(max1586_of_match),
|
||||
},
|
||||
.id_table = max1586_id,
|
||||
|
|
|
@ -518,7 +518,6 @@ static struct i2c_driver max8660_driver = {
|
|||
.probe = max8660_probe,
|
||||
.driver = {
|
||||
.name = "max8660",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.id_table = max8660_id,
|
||||
};
|
||||
|
|
|
@ -652,7 +652,6 @@ static struct i2c_driver max8973_i2c_driver = {
|
|||
.driver = {
|
||||
.name = "max8973",
|
||||
.of_match_table = of_max8973_match_tbl,
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = max8973_probe,
|
||||
.id_table = max8973_id,
|
||||
|
|
|
@ -643,7 +643,6 @@ static struct i2c_driver pfuze_driver = {
|
|||
.id_table = pfuze_device_id,
|
||||
.driver = {
|
||||
.name = "pfuze100-regulator",
|
||||
.owner = THIS_MODULE,
|
||||
.of_match_table = pfuze_dt_ids,
|
||||
},
|
||||
.probe = pfuze100_regulator_probe,
|
||||
|
|
|
@ -362,7 +362,6 @@ MODULE_DEVICE_TABLE(i2c, tps51632_id);
|
|||
static struct i2c_driver tps51632_i2c_driver = {
|
||||
.driver = {
|
||||
.name = "tps51632",
|
||||
.owner = THIS_MODULE,
|
||||
.of_match_table = of_match_ptr(tps51632_of_match),
|
||||
},
|
||||
.probe = tps51632_probe,
|
||||
|
|
|
@ -515,7 +515,6 @@ MODULE_DEVICE_TABLE(i2c, tps62360_id);
|
|||
static struct i2c_driver tps62360_i2c_driver = {
|
||||
.driver = {
|
||||
.name = "tps62360",
|
||||
.owner = THIS_MODULE,
|
||||
.of_match_table = of_match_ptr(tps62360_of_match),
|
||||
},
|
||||
.probe = tps62360_probe,
|
||||
|
|
|
@ -410,7 +410,6 @@ MODULE_DEVICE_TABLE(i2c, tps_65023_id);
|
|||
static struct i2c_driver tps_65023_i2c_driver = {
|
||||
.driver = {
|
||||
.name = "tps65023",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = tps_65023_probe,
|
||||
.id_table = tps_65023_id,
|
||||
|
|
Loading…
Reference in New Issue