Commit 0e777366 authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Lee Jones

mfd: Drop owner assignment from i2c_drivers

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 avatarLee Jones <lee.jones@linaro.org>
parent 66f2752f
...@@ -609,7 +609,6 @@ static int pm800_remove(struct i2c_client *client) ...@@ -609,7 +609,6 @@ static int pm800_remove(struct i2c_client *client)
static struct i2c_driver pm800_driver = { static struct i2c_driver pm800_driver = {
.driver = { .driver = {
.name = "88PM800", .name = "88PM800",
.owner = THIS_MODULE,
.pm = &pm80x_pm_ops, .pm = &pm80x_pm_ops,
}, },
.probe = pm800_probe, .probe = pm800_probe,
......
...@@ -267,7 +267,6 @@ static int pm805_remove(struct i2c_client *client) ...@@ -267,7 +267,6 @@ static int pm805_remove(struct i2c_client *client)
static struct i2c_driver pm805_driver = { static struct i2c_driver pm805_driver = {
.driver = { .driver = {
.name = "88PM805", .name = "88PM805",
.owner = THIS_MODULE,
.pm = &pm80x_pm_ops, .pm = &pm80x_pm_ops,
}, },
.probe = pm805_probe, .probe = pm805_probe,
......
...@@ -1258,7 +1258,6 @@ MODULE_DEVICE_TABLE(of, pm860x_dt_ids); ...@@ -1258,7 +1258,6 @@ MODULE_DEVICE_TABLE(of, pm860x_dt_ids);
static struct i2c_driver pm860x_driver = { static struct i2c_driver pm860x_driver = {
.driver = { .driver = {
.name = "88PM860x", .name = "88PM860x",
.owner = THIS_MODULE,
.pm = &pm860x_pm_ops, .pm = &pm860x_pm_ops,
.of_match_table = pm860x_dt_ids, .of_match_table = pm860x_dt_ids,
}, },
......
...@@ -500,7 +500,6 @@ MODULE_DEVICE_TABLE(i2c, aat2870_i2c_id_table); ...@@ -500,7 +500,6 @@ MODULE_DEVICE_TABLE(i2c, aat2870_i2c_id_table);
static struct i2c_driver aat2870_i2c_driver = { static struct i2c_driver aat2870_i2c_driver = {
.driver = { .driver = {
.name = "aat2870", .name = "aat2870",
.owner = THIS_MODULE,
.pm = &aat2870_pm_ops, .pm = &aat2870_pm_ops,
}, },
.probe = aat2870_i2c_probe, .probe = aat2870_i2c_probe,
......
...@@ -972,7 +972,6 @@ MODULE_DEVICE_TABLE(i2c, ab3100_id); ...@@ -972,7 +972,6 @@ MODULE_DEVICE_TABLE(i2c, ab3100_id);
static struct i2c_driver ab3100_driver = { static struct i2c_driver ab3100_driver = {
.driver = { .driver = {
.name = "ab3100", .name = "ab3100",
.owner = THIS_MODULE,
}, },
.id_table = ab3100_id, .id_table = ab3100_id,
.probe = ab3100_probe, .probe = ab3100_probe,
......
...@@ -351,7 +351,6 @@ MODULE_DEVICE_TABLE(i2c, adp5520_id); ...@@ -351,7 +351,6 @@ MODULE_DEVICE_TABLE(i2c, adp5520_id);
static struct i2c_driver adp5520_driver = { static struct i2c_driver adp5520_driver = {
.driver = { .driver = {
.name = "adp5520", .name = "adp5520",
.owner = THIS_MODULE,
.pm = &adp5520_pm, .pm = &adp5520_pm,
}, },
.probe = adp5520_probe, .probe = adp5520_probe,
......
...@@ -105,7 +105,6 @@ MODULE_DEVICE_TABLE(i2c, arizona_i2c_id); ...@@ -105,7 +105,6 @@ MODULE_DEVICE_TABLE(i2c, arizona_i2c_id);
static struct i2c_driver arizona_i2c_driver = { static struct i2c_driver arizona_i2c_driver = {
.driver = { .driver = {
.name = "arizona", .name = "arizona",
.owner = THIS_MODULE,
.pm = &arizona_pm_ops, .pm = &arizona_pm_ops,
.of_match_table = of_match_ptr(arizona_of_match), .of_match_table = of_match_ptr(arizona_of_match),
}, },
......
...@@ -211,7 +211,6 @@ MODULE_DEVICE_TABLE(i2c, as3711_i2c_id); ...@@ -211,7 +211,6 @@ MODULE_DEVICE_TABLE(i2c, as3711_i2c_id);
static struct i2c_driver as3711_i2c_driver = { static struct i2c_driver as3711_i2c_driver = {
.driver = { .driver = {
.name = "as3711", .name = "as3711",
.owner = THIS_MODULE,
.of_match_table = of_match_ptr(as3711_of_match), .of_match_table = of_match_ptr(as3711_of_match),
}, },
.probe = as3711_i2c_probe, .probe = as3711_i2c_probe,
......
...@@ -437,7 +437,6 @@ MODULE_DEVICE_TABLE(i2c, as3722_i2c_id); ...@@ -437,7 +437,6 @@ MODULE_DEVICE_TABLE(i2c, as3722_i2c_id);
static struct i2c_driver as3722_i2c_driver = { static struct i2c_driver as3722_i2c_driver = {
.driver = { .driver = {
.name = "as3722", .name = "as3722",
.owner = THIS_MODULE,
.of_match_table = as3722_of_match, .of_match_table = as3722_of_match,
}, },
.probe = as3722_i2c_probe, .probe = as3722_i2c_probe,
......
...@@ -613,7 +613,6 @@ static int axp20x_i2c_remove(struct i2c_client *i2c) ...@@ -613,7 +613,6 @@ static int axp20x_i2c_remove(struct i2c_client *i2c)
static struct i2c_driver axp20x_i2c_driver = { static struct i2c_driver axp20x_i2c_driver = {
.driver = { .driver = {
.name = "axp20x", .name = "axp20x",
.owner = THIS_MODULE,
.of_match_table = of_match_ptr(axp20x_of_match), .of_match_table = of_match_ptr(axp20x_of_match),
.acpi_match_table = ACPI_PTR(axp20x_acpi_match), .acpi_match_table = ACPI_PTR(axp20x_acpi_match),
}, },
......
...@@ -117,7 +117,6 @@ MODULE_DEVICE_TABLE(i2c, bcm590xx_i2c_id); ...@@ -117,7 +117,6 @@ MODULE_DEVICE_TABLE(i2c, bcm590xx_i2c_id);
static struct i2c_driver bcm590xx_i2c_driver = { static struct i2c_driver bcm590xx_i2c_driver = {
.driver = { .driver = {
.name = "bcm590xx", .name = "bcm590xx",
.owner = THIS_MODULE,
.of_match_table = of_match_ptr(bcm590xx_of_match), .of_match_table = of_match_ptr(bcm590xx_of_match),
}, },
.probe = bcm590xx_i2c_probe, .probe = bcm590xx_i2c_probe,
......
...@@ -353,7 +353,6 @@ MODULE_DEVICE_TABLE(i2c, cros_ec_i2c_id); ...@@ -353,7 +353,6 @@ MODULE_DEVICE_TABLE(i2c, cros_ec_i2c_id);
static struct i2c_driver cros_ec_driver = { static struct i2c_driver cros_ec_driver = {
.driver = { .driver = {
.name = "cros-ec-i2c", .name = "cros-ec-i2c",
.owner = THIS_MODULE,
.pm = &cros_ec_i2c_pm_ops, .pm = &cros_ec_i2c_pm_ops,
}, },
.probe = cros_ec_i2c_probe, .probe = cros_ec_i2c_probe,
......
...@@ -550,7 +550,6 @@ static int da903x_remove(struct i2c_client *client) ...@@ -550,7 +550,6 @@ static int da903x_remove(struct i2c_client *client)
static struct i2c_driver da903x_driver = { static struct i2c_driver da903x_driver = {
.driver = { .driver = {
.name = "da903x", .name = "da903x",
.owner = THIS_MODULE,
}, },
.probe = da903x_probe, .probe = da903x_probe,
.remove = da903x_remove, .remove = da903x_remove,
......
...@@ -195,7 +195,6 @@ static struct i2c_driver da9052_i2c_driver = { ...@@ -195,7 +195,6 @@ static struct i2c_driver da9052_i2c_driver = {
.id_table = da9052_i2c_id, .id_table = da9052_i2c_id,
.driver = { .driver = {
.name = "da9052", .name = "da9052",
.owner = THIS_MODULE,
#ifdef CONFIG_OF #ifdef CONFIG_OF
.of_match_table = dialog_dt_ids, .of_match_table = dialog_dt_ids,
#endif #endif
......
...@@ -79,7 +79,6 @@ static struct i2c_driver da9055_i2c_driver = { ...@@ -79,7 +79,6 @@ static struct i2c_driver da9055_i2c_driver = {
.id_table = da9055_i2c_id, .id_table = da9055_i2c_id,
.driver = { .driver = {
.name = "da9055-pmic", .name = "da9055-pmic",
.owner = THIS_MODULE,
.of_match_table = of_match_ptr(da9055_of_match), .of_match_table = of_match_ptr(da9055_of_match),
}, },
}; };
......
...@@ -264,7 +264,6 @@ MODULE_DEVICE_TABLE(i2c, da9063_i2c_id); ...@@ -264,7 +264,6 @@ MODULE_DEVICE_TABLE(i2c, da9063_i2c_id);
static struct i2c_driver da9063_i2c_driver = { static struct i2c_driver da9063_i2c_driver = {
.driver = { .driver = {
.name = "da9063", .name = "da9063",
.owner = THIS_MODULE,
.of_match_table = of_match_ptr(da9063_dt_ids), .of_match_table = of_match_ptr(da9063_dt_ids),
}, },
.probe = da9063_i2c_probe, .probe = da9063_i2c_probe,
......
...@@ -157,7 +157,6 @@ MODULE_DEVICE_TABLE(acpi, intel_soc_pmic_acpi_match); ...@@ -157,7 +157,6 @@ MODULE_DEVICE_TABLE(acpi, intel_soc_pmic_acpi_match);
static struct i2c_driver intel_soc_pmic_i2c_driver = { static struct i2c_driver intel_soc_pmic_i2c_driver = {
.driver = { .driver = {
.name = "intel_soc_pmic_i2c", .name = "intel_soc_pmic_i2c",
.owner = THIS_MODULE,
.pm = &intel_soc_pmic_pm_ops, .pm = &intel_soc_pmic_pm_ops,
.acpi_match_table = ACPI_PTR(intel_soc_pmic_acpi_match), .acpi_match_table = ACPI_PTR(intel_soc_pmic_acpi_match),
}, },
......
...@@ -640,7 +640,6 @@ MODULE_DEVICE_TABLE(i2c, lm3533_i2c_ids); ...@@ -640,7 +640,6 @@ MODULE_DEVICE_TABLE(i2c, lm3533_i2c_ids);
static struct i2c_driver lm3533_i2c_driver = { static struct i2c_driver lm3533_i2c_driver = {
.driver = { .driver = {
.name = "lm3533", .name = "lm3533",
.owner = THIS_MODULE,
}, },
.id_table = lm3533_i2c_ids, .id_table = lm3533_i2c_ids,
.probe = lm3533_i2c_probe, .probe = lm3533_i2c_probe,
......
...@@ -154,7 +154,6 @@ static struct i2c_driver lp3943_driver = { ...@@ -154,7 +154,6 @@ static struct i2c_driver lp3943_driver = {
.remove = lp3943_remove, .remove = lp3943_remove,
.driver = { .driver = {
.name = "lp3943", .name = "lp3943",
.owner = THIS_MODULE,
.of_match_table = of_match_ptr(lp3943_of_match), .of_match_table = of_match_ptr(lp3943_of_match),
}, },
.id_table = lp3943_ids, .id_table = lp3943_ids,
......
...@@ -221,7 +221,6 @@ MODULE_DEVICE_TABLE(i2c, lp8788_ids); ...@@ -221,7 +221,6 @@ MODULE_DEVICE_TABLE(i2c, lp8788_ids);
static struct i2c_driver lp8788_driver = { static struct i2c_driver lp8788_driver = {
.driver = { .driver = {
.name = "lp8788", .name = "lp8788",
.owner = THIS_MODULE,
}, },
.probe = lp8788_probe, .probe = lp8788_probe,
.remove = lp8788_remove, .remove = lp8788_remove,
......
...@@ -532,7 +532,6 @@ static SIMPLE_DEV_PM_OPS(max14577_pm, max14577_suspend, max14577_resume); ...@@ -532,7 +532,6 @@ static SIMPLE_DEV_PM_OPS(max14577_pm, max14577_suspend, max14577_resume);
static struct i2c_driver max14577_i2c_driver = { static struct i2c_driver max14577_i2c_driver = {
.driver = { .driver = {
.name = "max14577", .name = "max14577",
.owner = THIS_MODULE,
.pm = &max14577_pm, .pm = &max14577_pm,
.of_match_table = max14577_dt_match, .of_match_table = max14577_dt_match,
}, },
......
...@@ -391,7 +391,6 @@ static SIMPLE_DEV_PM_OPS(max77686_pm, max77686_suspend, max77686_resume); ...@@ -391,7 +391,6 @@ static SIMPLE_DEV_PM_OPS(max77686_pm, max77686_suspend, max77686_resume);
static struct i2c_driver max77686_i2c_driver = { static struct i2c_driver max77686_i2c_driver = {
.driver = { .driver = {
.name = "max77686", .name = "max77686",
.owner = THIS_MODULE,
.pm = &max77686_pm, .pm = &max77686_pm,
.of_match_table = of_match_ptr(max77686_pmic_dt_match), .of_match_table = of_match_ptr(max77686_pmic_dt_match),
}, },
......
...@@ -372,7 +372,6 @@ static const struct of_device_id max77693_dt_match[] = { ...@@ -372,7 +372,6 @@ static const struct of_device_id max77693_dt_match[] = {
static struct i2c_driver max77693_i2c_driver = { static struct i2c_driver max77693_i2c_driver = {
.driver = { .driver = {
.name = "max77693", .name = "max77693",
.owner = THIS_MODULE,
.pm = &max77693_pm, .pm = &max77693_pm,
.of_match_table = of_match_ptr(max77693_dt_match), .of_match_table = of_match_ptr(max77693_dt_match),
}, },
......
...@@ -321,7 +321,6 @@ MODULE_DEVICE_TABLE(i2c, max8907_i2c_id); ...@@ -321,7 +321,6 @@ MODULE_DEVICE_TABLE(i2c, max8907_i2c_id);
static struct i2c_driver max8907_i2c_driver = { static struct i2c_driver max8907_i2c_driver = {
.driver = { .driver = {
.name = "max8907", .name = "max8907",
.owner = THIS_MODULE,
.of_match_table = of_match_ptr(max8907_of_match), .of_match_table = of_match_ptr(max8907_of_match),
}, },
.probe = max8907_i2c_probe, .probe = max8907_i2c_probe,
......
...@@ -245,7 +245,6 @@ MODULE_DEVICE_TABLE(of, max8925_dt_ids); ...@@ -245,7 +245,6 @@ MODULE_DEVICE_TABLE(of, max8925_dt_ids);
static struct i2c_driver max8925_driver = { static struct i2c_driver max8925_driver = {
.driver = { .driver = {
.name = "max8925", .name = "max8925",
.owner = THIS_MODULE,
.pm = &max8925_pm_ops, .pm = &max8925_pm_ops,
.of_match_table = max8925_dt_ids, .of_match_table = max8925_dt_ids,
}, },
......
...@@ -508,7 +508,6 @@ static const struct dev_pm_ops max8997_pm = { ...@@ -508,7 +508,6 @@ static const struct dev_pm_ops max8997_pm = {
static struct i2c_driver max8997_i2c_driver = { static struct i2c_driver max8997_i2c_driver = {
.driver = { .driver = {
.name = "max8997", .name = "max8997",
.owner = THIS_MODULE,
.pm = &max8997_pm, .pm = &max8997_pm,
.of_match_table = of_match_ptr(max8997_pmic_dt_match), .of_match_table = of_match_ptr(max8997_pmic_dt_match),
}, },
......
...@@ -377,7 +377,6 @@ static const struct dev_pm_ops max8998_pm = { ...@@ -377,7 +377,6 @@ static const struct dev_pm_ops max8998_pm = {
static struct i2c_driver max8998_i2c_driver = { static struct i2c_driver max8998_i2c_driver = {
.driver = { .driver = {
.name = "max8998", .name = "max8998",
.owner = THIS_MODULE,
.pm = &max8998_pm, .pm = &max8998_pm,
.of_match_table = of_match_ptr(max8998_dt_match), .of_match_table = of_match_ptr(max8998_dt_match),
}, },
......
...@@ -96,7 +96,6 @@ static int mc13xxx_i2c_remove(struct i2c_client *client) ...@@ -96,7 +96,6 @@ static int mc13xxx_i2c_remove(struct i2c_client *client)
static struct i2c_driver mc13xxx_i2c_driver = { static struct i2c_driver mc13xxx_i2c_driver = {
.id_table = mc13xxx_i2c_device_id, .id_table = mc13xxx_i2c_device_id,
.driver = { .driver = {
.owner = THIS_MODULE,
.name = "mc13xxx", .name = "mc13xxx",
.of_match_table = mc13xxx_dt_ids, .of_match_table = mc13xxx_dt_ids,
}, },
......
...@@ -719,7 +719,6 @@ static struct i2c_driver palmas_i2c_driver = { ...@@ -719,7 +719,6 @@ static struct i2c_driver palmas_i2c_driver = {
.driver = { .driver = {
.name = "palmas", .name = "palmas",
.of_match_table = of_palmas_match_tbl, .of_match_table = of_palmas_match_tbl,
.owner = THIS_MODULE,
}, },
.probe = palmas_i2c_probe, .probe = palmas_i2c_probe,
.remove = palmas_i2c_remove, .remove = palmas_i2c_remove,
......
...@@ -322,7 +322,6 @@ MODULE_DEVICE_TABLE(i2c, rc5t583_i2c_id); ...@@ -322,7 +322,6 @@ MODULE_DEVICE_TABLE(i2c, rc5t583_i2c_id);
static struct i2c_driver rc5t583_i2c_driver = { static struct i2c_driver rc5t583_i2c_driver = {
.driver = { .driver = {
.name = "rc5t583", .name = "rc5t583",
.owner = THIS_MODULE,
}, },
.probe = rc5t583_i2c_probe, .probe = rc5t583_i2c_probe,
.remove = rc5t583_i2c_remove, .remove = rc5t583_i2c_remove,
......
...@@ -311,7 +311,6 @@ MODULE_DEVICE_TABLE(i2c, retu_id); ...@@ -311,7 +311,6 @@ MODULE_DEVICE_TABLE(i2c, retu_id);
static struct i2c_driver retu_driver = { static struct i2c_driver retu_driver = {
.driver = { .driver = {
.name = "retu-mfd", .name = "retu-mfd",
.owner = THIS_MODULE,
}, },
.probe = retu_probe, .probe = retu_probe,
.remove = retu_remove, .remove = retu_remove,
......
...@@ -486,7 +486,6 @@ MODULE_DEVICE_TABLE(i2c, sec_pmic_id); ...@@ -486,7 +486,6 @@ MODULE_DEVICE_TABLE(i2c, sec_pmic_id);
static struct i2c_driver sec_pmic_driver = { static struct i2c_driver sec_pmic_driver = {
.driver = { .driver = {
.name = "sec_pmic", .name = "sec_pmic",
.owner = THIS_MODULE,
.pm = &sec_pmic_pm_ops, .pm = &sec_pmic_pm_ops,
.of_match_table = of_match_ptr(sec_dt_match), .of_match_table = of_match_ptr(sec_dt_match),
}, },
......
...@@ -873,7 +873,6 @@ MODULE_DEVICE_TABLE(i2c, si476x_id); ...@@ -873,7 +873,6 @@ MODULE_DEVICE_TABLE(i2c, si476x_id);
static struct i2c_driver si476x_core_driver = { static struct i2c_driver si476x_core_driver = {
.driver = { .driver = {
.name = "si476x-core", .name = "si476x-core",
.owner = THIS_MODULE,
}, },
.probe = si476x_core_probe, .probe = si476x_core_probe,
.remove = si476x_core_remove, .remove = si476x_core_remove,
......
...@@ -98,7 +98,6 @@ MODULE_DEVICE_TABLE(i2c, smsc_i2c_id); ...@@ -98,7 +98,6 @@ MODULE_DEVICE_TABLE(i2c, smsc_i2c_id);
static struct i2c_driver smsc_i2c_driver = { static struct i2c_driver smsc_i2c_driver = {
.driver = { .driver = {
.name = "smsc", .name = "smsc",
.owner = THIS_MODULE,
}, },
.probe = smsc_i2c_probe, .probe = smsc_i2c_probe,
.remove = smsc_i2c_remove, .remove = smsc_i2c_remove,
......
...@@ -112,7 +112,6 @@ MODULE_DEVICE_TABLE(i2c, stmpe_id); ...@@ -112,7 +112,6 @@ MODULE_DEVICE_TABLE(i2c, stmpe_id);
static struct i2c_driver stmpe_i2c_driver = { static struct i2c_driver stmpe_i2c_driver = {
.driver = { .driver = {
.name = "stmpe-i2c", .name = "stmpe-i2c",
.owner = THIS_MODULE,
#ifdef CONFIG_PM #ifdef CONFIG_PM
.pm = &stmpe_dev_pm_ops, .pm = &stmpe_dev_pm_ops,
#endif #endif
......
...@@ -492,7 +492,6 @@ MODULE_DEVICE_TABLE(i2c, tc3589x_id); ...@@ -492,7 +492,6 @@ MODULE_DEVICE_TABLE(i2c, tc3589x_id);
static struct i2c_driver tc3589x_driver = { static struct i2c_driver tc3589x_driver = {
.driver = { .driver = {
.name = "tc3589x", .name = "tc3589x",
.owner = THIS_MODULE,
.pm = &tc3589x_dev_pm_ops, .pm = &tc3589x_dev_pm_ops,
.of_match_table = of_match_ptr(tc3589x_match), .of_match_table = of_match_ptr(tc3589x_match),
}, },
......
...@@ -129,7 +129,6 @@ MODULE_DEVICE_TABLE(of, tps6507x_of_match); ...@@ -129,7 +129,6 @@ MODULE_DEVICE_TABLE(of, tps6507x_of_match);
static struct i2c_driver tps6507x_i2c_driver = { static struct i2c_driver tps6507x_i2c_driver = {
.driver = { .driver = {
.name = "tps6507x", .name = "tps6507x",
.owner = THIS_MODULE,
.of_match_table = of_match_ptr(tps6507x_of_match), .of_match_table = of_match_ptr(tps6507x_of_match),
}, },
.probe = tps6507x_i2c_probe, .probe = tps6507x_i2c_probe,
......
...@@ -259,7 +259,6 @@ MODULE_DEVICE_TABLE(i2c, tps65090_id_table); ...@@ -259,7 +259,6 @@ MODULE_DEVICE_TABLE(i2c, tps65090_id_table);
static struct i2c_driver tps65090_driver = { static struct i2c_driver tps65090_driver = {
.driver = { .driver = {
.name = "tps65090", .name = "tps65090",
.owner = THIS_MODULE,
.of_match_table = of_match_ptr(tps65090_of_match), .of_match_table = of_match_ptr(tps65090_of_match),
}, },
.probe = tps65090_i2c_probe, .probe = tps65090_i2c_probe,
......
...@@ -248,7 +248,6 @@ MODULE_DEVICE_TABLE(i2c, tps65217_id_table); ...@@ -248,7 +248,6 @@ MODULE_DEVICE_TABLE(i2c, tps65217_id_table);
static struct i2c_driver tps65217_driver = { static struct i2c_driver tps65217_driver = {
.driver = { .driver = {
.name = "tps65217", .name = "tps65217",
.owner = THIS_MODULE,
.of_match_table = tps65217_of_match, .of_match_table = tps65217_of_match,
}, },
.id_table = tps65217_id_table, .id_table = tps65217_id_table,
......
...@@ -280,7 +280,6 @@ MODULE_DEVICE_TABLE(i2c, tps65218_id_table); ...@@ -280,7 +280,6 @@ MODULE_DEVICE_TABLE(i2c, tps65218_id_table);
static struct i2c_driver tps65218_driver = { static struct i2c_driver tps65218_driver = {
.driver = { .driver = {
.name = "tps65218", .name = "tps65218",
.owner = THIS_MODULE,
.of_match_table = of_tps65218_match_table, .of_match_table = of_tps65218_match_table,
}, },
.probe = tps65218_probe, .probe = tps65218_probe,
......
...@@ -610,7 +610,6 @@ MODULE_DEVICE_TABLE(i2c, tps6586x_id_table); ...@@ -610,7 +610,6 @@ MODULE_DEVICE_TABLE(i2c, tps6586x_id_table);
static struct i2c_driver tps6586x_driver = { static struct i2c_driver tps6586x_driver = {
.driver = { .driver = {
.name = "tps6586x", .name = "tps6586x",
.owner = THIS_MODULE,
.of_match_table = of_match_ptr(tps6586x_of_match), .of_match_table = of_match_ptr(tps6586x_of_match),
}, },
.probe = tps6586x_i2c_probe, .probe = tps6586x_i2c_probe,
......
...@@ -544,7 +544,6 @@ MODULE_DEVICE_TABLE(i2c, tps65910_i2c_id); ...@@ -544,7 +544,6 @@ MODULE_DEVICE_TABLE(i2c, tps65910_i2c_id);
static struct i2c_driver tps65910_i2c_driver = { static struct i2c_driver tps65910_i2c_driver = {
.driver = { .driver = {
.name = "tps65910", .name = "tps65910",
.owner = THIS_MODULE,
.of_match_table = of_match_ptr(tps65910_of_match), .of_match_table = of_match_ptr(tps65910_of_match),
}, },
.probe = tps65910_i2c_probe, .probe = tps65910_i2c_probe,
......
...@@ -109,7 +109,6 @@ MODULE_DEVICE_TABLE(i2c, tps65912_i2c_id); ...@@ -109,7 +109,6 @@ MODULE_DEVICE_TABLE(i2c, tps65912_i2c_id);
static struct i2c_driver tps65912_i2c_driver = { static struct i2c_driver tps65912_i2c_driver = {
.driver = { .driver = {
.name = "tps65912", .name = "tps65912",
.owner = THIS_MODULE,
}, },
.probe = tps65912_i2c_probe, .probe = tps65912_i2c_probe,
.remove = tps65912_i2c_remove, .remove = tps65912_i2c_remove,
......
...@@ -549,7 +549,6 @@ MODULE_DEVICE_TABLE(i2c, tps80031_id_table); ...@@ -549,7 +549,6 @@ MODULE_DEVICE_TABLE(i2c, tps80031_id_table);
static struct i2c_driver tps80031_driver = { static struct i2c_driver tps80031_driver = {
.driver = { .driver = {
.name = "tps80031", .name = "tps80031",
.owner = THIS_MODULE,
}, },
.probe = tps80031_probe, .probe = tps80031_probe,
.remove = tps80031_remove, .remove = tps80031_remove,
......
...@@ -801,7 +801,6 @@ MODULE_DEVICE_TABLE(i2c, twl6040_i2c_id); ...@@ -801,7 +801,6 @@ MODULE_DEVICE_TABLE(i2c, twl6040_i2c_id);
static struct i2c_driver twl6040_driver = { static struct i2c_driver twl6040_driver = {
.driver = { .driver = {
.name = "twl6040", .name = "twl6040",
.owner = THIS_MODULE,
}, },
.probe = twl6040_probe, .probe = twl6040_probe,
.remove = twl6040_remove, .remove = twl6040_remove,
......
...@@ -93,7 +93,6 @@ static const struct dev_pm_ops wm831x_pm_ops = { ...@@ -93,7 +93,6 @@ static const struct dev_pm_ops wm831x_pm_ops = {
static struct i2c_driver wm831x_i2c_driver = { static struct i2c_driver wm831x_i2c_driver = {
.driver = { .driver = {
.name = "wm831x", .name = "wm831x",
.owner = THIS_MODULE,
.pm = &wm831x_pm_ops, .pm = &wm831x_pm_ops,
}, },
.probe = wm831x_i2c_probe, .probe = wm831x_i2c_probe,
......
...@@ -69,7 +69,6 @@ MODULE_DEVICE_TABLE(i2c, wm8350_i2c_id); ...@@ -69,7 +69,6 @@ MODULE_DEVICE_TABLE(i2c, wm8350_i2c_id);
static struct i2c_driver wm8350_i2c_driver = { static struct i2c_driver wm8350_i2c_driver = {
.driver = { .driver = {
.name = "wm8350", .name = "wm8350",
.owner = THIS_MODULE,
}, },
.probe = wm8350_i2c_probe, .probe = wm8350_i2c_probe,
.remove = wm8350_i2c_remove, .remove = wm8350_i2c_remove,
......
...@@ -194,7 +194,6 @@ MODULE_DEVICE_TABLE(i2c, wm8400_i2c_id); ...@@ -194,7 +194,6 @@ MODULE_DEVICE_TABLE(i2c, wm8400_i2c_id);
static struct i2c_driver wm8400_i2c_driver = { static struct i2c_driver wm8400_i2c_driver = {
.driver = { .driver = {
.name = "WM8400", .name = "WM8400",
.owner = THIS_MODULE,
}, },
.probe = wm8400_i2c_probe, .probe = wm8400_i2c_probe,
.remove = wm8400_i2c_remove, .remove = wm8400_i2c_remove,
......
...@@ -677,7 +677,6 @@ static const struct dev_pm_ops wm8994_pm_ops = { ...@@ -677,7 +677,6 @@ static const struct dev_pm_ops wm8994_pm_ops = {
static struct i2c_driver wm8994_i2c_driver = { static struct i2c_driver wm8994_i2c_driver = {
.driver = { .driver = {
.name = "wm8994", .name = "wm8994",
.owner = THIS_MODULE,
.pm = &wm8994_pm_ops, .pm = &wm8994_pm_ops,
.of_match_table = of_match_ptr(wm8994_of_match), .of_match_table = of_match_ptr(wm8994_of_match),
}, },
......
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