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:
Krzysztof Kozlowski 2015-07-10 14:44:00 +09:00 committed by Mark Brown
parent d770e558e2
commit a807a6cc29
16 changed files with 0 additions and 16 deletions

View File

@ -530,7 +530,6 @@ MODULE_DEVICE_TABLE(i2c, act8865_ids);
static struct i2c_driver act8865_pmic_driver = { static struct i2c_driver act8865_pmic_driver = {
.driver = { .driver = {
.name = "act8865", .name = "act8865",
.owner = THIS_MODULE,
}, },
.probe = act8865_pmic_probe, .probe = act8865_pmic_probe,
.id_table = act8865_ids, .id_table = act8865_ids,

View File

@ -184,7 +184,6 @@ MODULE_DEVICE_TABLE(i2c, da9210_i2c_id);
static struct i2c_driver da9210_regulator_driver = { static struct i2c_driver da9210_regulator_driver = {
.driver = { .driver = {
.name = "da9210", .name = "da9210",
.owner = THIS_MODULE,
}, },
.probe = da9210_i2c_probe, .probe = da9210_i2c_probe,
.id_table = da9210_i2c_id, .id_table = da9210_i2c_id,

View File

@ -494,7 +494,6 @@ MODULE_DEVICE_TABLE(of, da9211_dt_ids);
static struct i2c_driver da9211_regulator_driver = { static struct i2c_driver da9211_regulator_driver = {
.driver = { .driver = {
.name = "da9211", .name = "da9211",
.owner = THIS_MODULE,
.of_match_table = of_match_ptr(da9211_dt_ids), .of_match_table = of_match_ptr(da9211_dt_ids),
}, },
.probe = da9211_i2c_probe, .probe = da9211_i2c_probe,

View File

@ -156,7 +156,6 @@ MODULE_DEVICE_TABLE(i2c, isl6271a_id);
static struct i2c_driver isl6271a_i2c_driver = { static struct i2c_driver isl6271a_i2c_driver = {
.driver = { .driver = {
.name = "isl6271a", .name = "isl6271a",
.owner = THIS_MODULE,
}, },
.probe = isl6271a_probe, .probe = isl6271a_probe,
.id_table = isl6271a_id, .id_table = isl6271a_id,

View File

@ -195,7 +195,6 @@ MODULE_DEVICE_TABLE(i2c, isl9305_i2c_id);
static struct i2c_driver isl9305_regulator_driver = { static struct i2c_driver isl9305_regulator_driver = {
.driver = { .driver = {
.name = "isl9305", .name = "isl9305",
.owner = THIS_MODULE,
.of_match_table = of_match_ptr(isl9305_dt_ids), .of_match_table = of_match_ptr(isl9305_dt_ids),
}, },
.probe = isl9305_i2c_probe, .probe = isl9305_i2c_probe,

View File

@ -452,7 +452,6 @@ MODULE_DEVICE_TABLE(i2c, lp3971_i2c_id);
static struct i2c_driver lp3971_i2c_driver = { static struct i2c_driver lp3971_i2c_driver = {
.driver = { .driver = {
.name = "LP3971", .name = "LP3971",
.owner = THIS_MODULE,
}, },
.probe = lp3971_i2c_probe, .probe = lp3971_i2c_probe,
.id_table = lp3971_i2c_id, .id_table = lp3971_i2c_id,

View File

@ -550,7 +550,6 @@ MODULE_DEVICE_TABLE(i2c, lp3972_i2c_id);
static struct i2c_driver lp3972_i2c_driver = { static struct i2c_driver lp3972_i2c_driver = {
.driver = { .driver = {
.name = "lp3972", .name = "lp3972",
.owner = THIS_MODULE,
}, },
.probe = lp3972_i2c_probe, .probe = lp3972_i2c_probe,
.id_table = lp3972_i2c_id, .id_table = lp3972_i2c_id,

View File

@ -955,7 +955,6 @@ MODULE_DEVICE_TABLE(i2c, lp872x_ids);
static struct i2c_driver lp872x_driver = { static struct i2c_driver lp872x_driver = {
.driver = { .driver = {
.name = "lp872x", .name = "lp872x",
.owner = THIS_MODULE,
.of_match_table = of_match_ptr(lp872x_dt_ids), .of_match_table = of_match_ptr(lp872x_dt_ids),
}, },
.probe = lp872x_probe, .probe = lp872x_probe,

View File

@ -542,7 +542,6 @@ MODULE_DEVICE_TABLE(i2c, ltc3589_i2c_id);
static struct i2c_driver ltc3589_driver = { static struct i2c_driver ltc3589_driver = {
.driver = { .driver = {
.name = DRIVER_NAME, .name = DRIVER_NAME,
.owner = THIS_MODULE,
}, },
.probe = ltc3589_probe, .probe = ltc3589_probe,
.id_table = ltc3589_i2c_id, .id_table = ltc3589_i2c_id,

View File

@ -304,7 +304,6 @@ static struct i2c_driver max1586_pmic_driver = {
.probe = max1586_pmic_probe, .probe = max1586_pmic_probe,
.driver = { .driver = {
.name = "max1586", .name = "max1586",
.owner = THIS_MODULE,
.of_match_table = of_match_ptr(max1586_of_match), .of_match_table = of_match_ptr(max1586_of_match),
}, },
.id_table = max1586_id, .id_table = max1586_id,

View File

@ -518,7 +518,6 @@ static struct i2c_driver max8660_driver = {
.probe = max8660_probe, .probe = max8660_probe,
.driver = { .driver = {
.name = "max8660", .name = "max8660",
.owner = THIS_MODULE,
}, },
.id_table = max8660_id, .id_table = max8660_id,
}; };

View File

@ -652,7 +652,6 @@ static struct i2c_driver max8973_i2c_driver = {
.driver = { .driver = {
.name = "max8973", .name = "max8973",
.of_match_table = of_max8973_match_tbl, .of_match_table = of_max8973_match_tbl,
.owner = THIS_MODULE,
}, },
.probe = max8973_probe, .probe = max8973_probe,
.id_table = max8973_id, .id_table = max8973_id,

View File

@ -643,7 +643,6 @@ static struct i2c_driver pfuze_driver = {
.id_table = pfuze_device_id, .id_table = pfuze_device_id,
.driver = { .driver = {
.name = "pfuze100-regulator", .name = "pfuze100-regulator",
.owner = THIS_MODULE,
.of_match_table = pfuze_dt_ids, .of_match_table = pfuze_dt_ids,
}, },
.probe = pfuze100_regulator_probe, .probe = pfuze100_regulator_probe,

View File

@ -362,7 +362,6 @@ MODULE_DEVICE_TABLE(i2c, tps51632_id);
static struct i2c_driver tps51632_i2c_driver = { static struct i2c_driver tps51632_i2c_driver = {
.driver = { .driver = {
.name = "tps51632", .name = "tps51632",
.owner = THIS_MODULE,
.of_match_table = of_match_ptr(tps51632_of_match), .of_match_table = of_match_ptr(tps51632_of_match),
}, },
.probe = tps51632_probe, .probe = tps51632_probe,

View File

@ -515,7 +515,6 @@ MODULE_DEVICE_TABLE(i2c, tps62360_id);
static struct i2c_driver tps62360_i2c_driver = { static struct i2c_driver tps62360_i2c_driver = {
.driver = { .driver = {
.name = "tps62360", .name = "tps62360",
.owner = THIS_MODULE,
.of_match_table = of_match_ptr(tps62360_of_match), .of_match_table = of_match_ptr(tps62360_of_match),
}, },
.probe = tps62360_probe, .probe = tps62360_probe,

View File

@ -410,7 +410,6 @@ MODULE_DEVICE_TABLE(i2c, tps_65023_id);
static struct i2c_driver tps_65023_i2c_driver = { static struct i2c_driver tps_65023_i2c_driver = {
.driver = { .driver = {
.name = "tps65023", .name = "tps65023",
.owner = THIS_MODULE,
}, },
.probe = tps_65023_probe, .probe = tps_65023_probe,
.id_table = tps_65023_id, .id_table = tps_65023_id,