Commit 6c794b26 authored by Wolfram Sang's avatar Wolfram Sang

regulator: drop owner assignment from platform_drivers

A platform_driver does not need to set an owner, it will be populated by the
driver core.
Signed-off-by: default avatarWolfram Sang <wsa@the-dreams.de>
parent f05fae14
...@@ -362,7 +362,6 @@ static int pm800_regulator_remove(struct platform_device *pdev) ...@@ -362,7 +362,6 @@ static int pm800_regulator_remove(struct platform_device *pdev)
static struct platform_driver pm800_regulator_driver = { static struct platform_driver pm800_regulator_driver = {
.driver = { .driver = {
.name = "88pm80x-regulator", .name = "88pm80x-regulator",
.owner = THIS_MODULE,
}, },
.probe = pm800_regulator_probe, .probe = pm800_regulator_probe,
.remove = pm800_regulator_remove, .remove = pm800_regulator_remove,
......
...@@ -418,7 +418,6 @@ MODULE_DEVICE_TABLE(platform, pm8607_regulator_driver_ids); ...@@ -418,7 +418,6 @@ MODULE_DEVICE_TABLE(platform, pm8607_regulator_driver_ids);
static struct platform_driver pm8607_regulator_driver = { static struct platform_driver pm8607_regulator_driver = {
.driver = { .driver = {
.name = "88pm860x-regulator", .name = "88pm860x-regulator",
.owner = THIS_MODULE,
}, },
.probe = pm8607_regulator_probe, .probe = pm8607_regulator_probe,
.id_table = pm8607_regulator_driver_ids, .id_table = pm8607_regulator_driver_ids,
......
...@@ -191,7 +191,6 @@ static int aat2870_regulator_probe(struct platform_device *pdev) ...@@ -191,7 +191,6 @@ static int aat2870_regulator_probe(struct platform_device *pdev)
static struct platform_driver aat2870_regulator_driver = { static struct platform_driver aat2870_regulator_driver = {
.driver = { .driver = {
.name = "aat2870-regulator", .name = "aat2870-regulator",
.owner = THIS_MODULE,
}, },
.probe = aat2870_regulator_probe, .probe = aat2870_regulator_probe,
}; };
......
...@@ -721,7 +721,6 @@ static int ab3100_regulators_probe(struct platform_device *pdev) ...@@ -721,7 +721,6 @@ static int ab3100_regulators_probe(struct platform_device *pdev)
static struct platform_driver ab3100_regulators_driver = { static struct platform_driver ab3100_regulators_driver = {
.driver = { .driver = {
.name = "ab3100-regulators", .name = "ab3100-regulators",
.owner = THIS_MODULE,
}, },
.probe = ab3100_regulators_probe, .probe = ab3100_regulators_probe,
.remove = ab3100_regulators_remove, .remove = ab3100_regulators_remove,
......
...@@ -433,7 +433,6 @@ static struct platform_driver ab8500_ext_regulator_driver = { ...@@ -433,7 +433,6 @@ static struct platform_driver ab8500_ext_regulator_driver = {
.probe = ab8500_ext_regulator_probe, .probe = ab8500_ext_regulator_probe,
.driver = { .driver = {
.name = "ab8500-ext-regulator", .name = "ab8500-ext-regulator",
.owner = THIS_MODULE,
}, },
}; };
......
...@@ -3075,7 +3075,6 @@ static struct platform_driver ab8500_regulator_driver = { ...@@ -3075,7 +3075,6 @@ static struct platform_driver ab8500_regulator_driver = {
.probe = ab8500_regulator_probe, .probe = ab8500_regulator_probe,
.driver = { .driver = {
.name = "ab8500-regulator", .name = "ab8500-regulator",
.owner = THIS_MODULE,
}, },
}; };
......
...@@ -308,7 +308,6 @@ static const struct of_device_id of_anatop_regulator_match_tbl[] = { ...@@ -308,7 +308,6 @@ static const struct of_device_id of_anatop_regulator_match_tbl[] = {
static struct platform_driver anatop_regulator_driver = { static struct platform_driver anatop_regulator_driver = {
.driver = { .driver = {
.name = "anatop_regulator", .name = "anatop_regulator",
.owner = THIS_MODULE,
.of_match_table = of_anatop_regulator_match_tbl, .of_match_table = of_anatop_regulator_match_tbl,
}, },
.probe = anatop_regulator_probe, .probe = anatop_regulator_probe,
......
...@@ -296,7 +296,6 @@ static struct platform_driver arizona_ldo1_driver = { ...@@ -296,7 +296,6 @@ static struct platform_driver arizona_ldo1_driver = {
.probe = arizona_ldo1_probe, .probe = arizona_ldo1_probe,
.driver = { .driver = {
.name = "arizona-ldo1", .name = "arizona-ldo1",
.owner = THIS_MODULE,
}, },
}; };
......
...@@ -300,7 +300,6 @@ static struct platform_driver arizona_micsupp_driver = { ...@@ -300,7 +300,6 @@ static struct platform_driver arizona_micsupp_driver = {
.probe = arizona_micsupp_probe, .probe = arizona_micsupp_probe,
.driver = { .driver = {
.name = "arizona-micsupp", .name = "arizona-micsupp",
.owner = THIS_MODULE,
}, },
}; };
......
...@@ -267,7 +267,6 @@ static int as3711_regulator_probe(struct platform_device *pdev) ...@@ -267,7 +267,6 @@ static int as3711_regulator_probe(struct platform_device *pdev)
static struct platform_driver as3711_regulator_driver = { static struct platform_driver as3711_regulator_driver = {
.driver = { .driver = {
.name = "as3711-regulator", .name = "as3711-regulator",
.owner = THIS_MODULE,
}, },
.probe = as3711_regulator_probe, .probe = as3711_regulator_probe,
}; };
......
...@@ -916,7 +916,6 @@ MODULE_DEVICE_TABLE(of, of_as3722_regulator_match); ...@@ -916,7 +916,6 @@ MODULE_DEVICE_TABLE(of, of_as3722_regulator_match);
static struct platform_driver as3722_regulator_driver = { static struct platform_driver as3722_regulator_driver = {
.driver = { .driver = {
.name = "as3722-regulator", .name = "as3722-regulator",
.owner = THIS_MODULE,
.of_match_table = of_as3722_regulator_match, .of_match_table = of_as3722_regulator_match,
}, },
.probe = as3722_regulator_probe, .probe = as3722_regulator_probe,
......
...@@ -275,7 +275,6 @@ static struct platform_driver axp20x_regulator_driver = { ...@@ -275,7 +275,6 @@ static struct platform_driver axp20x_regulator_driver = {
.probe = axp20x_regulator_probe, .probe = axp20x_regulator_probe,
.driver = { .driver = {
.name = "axp20x-regulator", .name = "axp20x-regulator",
.owner = THIS_MODULE,
}, },
}; };
......
...@@ -453,7 +453,6 @@ static int bcm590xx_probe(struct platform_device *pdev) ...@@ -453,7 +453,6 @@ static int bcm590xx_probe(struct platform_device *pdev)
static struct platform_driver bcm590xx_regulator_driver = { static struct platform_driver bcm590xx_regulator_driver = {
.driver = { .driver = {
.name = "bcm590xx-vregs", .name = "bcm590xx-vregs",
.owner = THIS_MODULE,
}, },
.probe = bcm590xx_probe, .probe = bcm590xx_probe,
}; };
......
...@@ -475,7 +475,6 @@ static int da903x_regulator_probe(struct platform_device *pdev) ...@@ -475,7 +475,6 @@ static int da903x_regulator_probe(struct platform_device *pdev)
static struct platform_driver da903x_regulator_driver = { static struct platform_driver da903x_regulator_driver = {
.driver = { .driver = {
.name = "da903x-regulator", .name = "da903x-regulator",
.owner = THIS_MODULE,
}, },
.probe = da903x_regulator_probe, .probe = da903x_regulator_probe,
}; };
......
...@@ -463,7 +463,6 @@ static struct platform_driver da9052_regulator_driver = { ...@@ -463,7 +463,6 @@ static struct platform_driver da9052_regulator_driver = {
.probe = da9052_regulator_probe, .probe = da9052_regulator_probe,
.driver = { .driver = {
.name = "da9052-regulator", .name = "da9052-regulator",
.owner = THIS_MODULE,
}, },
}; };
......
...@@ -665,7 +665,6 @@ static struct platform_driver da9055_regulator_driver = { ...@@ -665,7 +665,6 @@ static struct platform_driver da9055_regulator_driver = {
.probe = da9055_regulator_probe, .probe = da9055_regulator_probe,
.driver = { .driver = {
.name = "da9055-regulator", .name = "da9055-regulator",
.owner = THIS_MODULE,
}, },
}; };
......
...@@ -896,7 +896,6 @@ static int da9063_regulator_remove(struct platform_device *pdev) ...@@ -896,7 +896,6 @@ static int da9063_regulator_remove(struct platform_device *pdev)
static struct platform_driver da9063_regulator_driver = { static struct platform_driver da9063_regulator_driver = {
.driver = { .driver = {
.name = DA9063_DRVNAME_REGULATORS, .name = DA9063_DRVNAME_REGULATORS,
.owner = THIS_MODULE,
}, },
.probe = da9063_regulator_probe, .probe = da9063_regulator_probe,
.remove = da9063_regulator_remove, .remove = da9063_regulator_remove,
......
...@@ -534,7 +534,6 @@ static int db8500_regulator_remove(struct platform_device *pdev) ...@@ -534,7 +534,6 @@ static int db8500_regulator_remove(struct platform_device *pdev)
static struct platform_driver db8500_regulator_driver = { static struct platform_driver db8500_regulator_driver = {
.driver = { .driver = {
.name = "db8500-prcmu-regulators", .name = "db8500-prcmu-regulators",
.owner = THIS_MODULE,
}, },
.probe = db8500_regulator_probe, .probe = db8500_regulator_probe,
.remove = db8500_regulator_remove, .remove = db8500_regulator_remove,
......
...@@ -63,7 +63,6 @@ static struct platform_driver dummy_regulator_driver = { ...@@ -63,7 +63,6 @@ static struct platform_driver dummy_regulator_driver = {
.probe = dummy_regulator_probe, .probe = dummy_regulator_probe,
.driver = { .driver = {
.name = "reg-dummy", .name = "reg-dummy",
.owner = THIS_MODULE,
}, },
}; };
......
...@@ -207,7 +207,6 @@ static struct platform_driver regulator_fixed_voltage_driver = { ...@@ -207,7 +207,6 @@ static struct platform_driver regulator_fixed_voltage_driver = {
.probe = reg_fixed_voltage_probe, .probe = reg_fixed_voltage_probe,
.driver = { .driver = {
.name = "reg-fixed-voltage", .name = "reg-fixed-voltage",
.owner = THIS_MODULE,
.of_match_table = of_match_ptr(fixed_of_match), .of_match_table = of_match_ptr(fixed_of_match),
}, },
}; };
......
...@@ -388,7 +388,6 @@ static struct platform_driver gpio_regulator_driver = { ...@@ -388,7 +388,6 @@ static struct platform_driver gpio_regulator_driver = {
.remove = gpio_regulator_remove, .remove = gpio_regulator_remove,
.driver = { .driver = {
.name = "gpio-regulator", .name = "gpio-regulator",
.owner = THIS_MODULE,
.of_match_table = of_match_ptr(regulator_gpio_of_match), .of_match_table = of_match_ptr(regulator_gpio_of_match),
}, },
}; };
......
...@@ -623,7 +623,6 @@ static int hi6421_regulator_probe(struct platform_device *pdev) ...@@ -623,7 +623,6 @@ static int hi6421_regulator_probe(struct platform_device *pdev)
static struct platform_driver hi6421_regulator_driver = { static struct platform_driver hi6421_regulator_driver = {
.driver = { .driver = {
.name = "hi6421-regulator", .name = "hi6421-regulator",
.owner = THIS_MODULE,
}, },
.probe = hi6421_regulator_probe, .probe = hi6421_regulator_probe,
}; };
......
...@@ -533,7 +533,6 @@ static struct platform_driver lp8788_buck_driver = { ...@@ -533,7 +533,6 @@ static struct platform_driver lp8788_buck_driver = {
.probe = lp8788_buck_probe, .probe = lp8788_buck_probe,
.driver = { .driver = {
.name = LP8788_DEV_BUCK, .name = LP8788_DEV_BUCK,
.owner = THIS_MODULE,
}, },
}; };
......
...@@ -561,7 +561,6 @@ static struct platform_driver lp8788_dldo_driver = { ...@@ -561,7 +561,6 @@ static struct platform_driver lp8788_dldo_driver = {
.probe = lp8788_dldo_probe, .probe = lp8788_dldo_probe,
.driver = { .driver = {
.name = LP8788_DEV_DLDO, .name = LP8788_DEV_DLDO,
.owner = THIS_MODULE,
}, },
}; };
...@@ -611,7 +610,6 @@ static struct platform_driver lp8788_aldo_driver = { ...@@ -611,7 +610,6 @@ static struct platform_driver lp8788_aldo_driver = {
.probe = lp8788_aldo_probe, .probe = lp8788_aldo_probe,
.driver = { .driver = {
.name = LP8788_DEV_ALDO, .name = LP8788_DEV_ALDO,
.owner = THIS_MODULE,
}, },
}; };
......
...@@ -371,7 +371,6 @@ MODULE_DEVICE_TABLE(platform, max14577_regulator_id); ...@@ -371,7 +371,6 @@ MODULE_DEVICE_TABLE(platform, max14577_regulator_id);
static struct platform_driver max14577_regulator_driver = { static struct platform_driver max14577_regulator_driver = {
.driver = { .driver = {
.owner = THIS_MODULE,
.name = "max14577-regulator", .name = "max14577-regulator",
}, },
.probe = max14577_regulator_probe, .probe = max14577_regulator_probe,
......
...@@ -500,7 +500,6 @@ MODULE_DEVICE_TABLE(platform, max77686_pmic_id); ...@@ -500,7 +500,6 @@ MODULE_DEVICE_TABLE(platform, max77686_pmic_id);
static struct platform_driver max77686_pmic_driver = { static struct platform_driver max77686_pmic_driver = {
.driver = { .driver = {
.name = "max77686-pmic", .name = "max77686-pmic",
.owner = THIS_MODULE,
}, },
.probe = max77686_pmic_probe, .probe = max77686_pmic_probe,
.id_table = max77686_pmic_id, .id_table = max77686_pmic_id,
......
...@@ -267,7 +267,6 @@ MODULE_DEVICE_TABLE(platform, max77693_pmic_id); ...@@ -267,7 +267,6 @@ MODULE_DEVICE_TABLE(platform, max77693_pmic_id);
static struct platform_driver max77693_pmic_driver = { static struct platform_driver max77693_pmic_driver = {
.driver = { .driver = {
.name = "max77693-pmic", .name = "max77693-pmic",
.owner = THIS_MODULE,
}, },
.probe = max77693_pmic_probe, .probe = max77693_pmic_probe,
.id_table = max77693_pmic_id, .id_table = max77693_pmic_id,
......
...@@ -573,7 +573,6 @@ MODULE_DEVICE_TABLE(platform, max77802_pmic_id); ...@@ -573,7 +573,6 @@ MODULE_DEVICE_TABLE(platform, max77802_pmic_id);
static struct platform_driver max77802_pmic_driver = { static struct platform_driver max77802_pmic_driver = {
.driver = { .driver = {
.name = "max77802-pmic", .name = "max77802-pmic",
.owner = THIS_MODULE,
}, },
.probe = max77802_pmic_probe, .probe = max77802_pmic_probe,
.id_table = max77802_pmic_id, .id_table = max77802_pmic_id,
......
...@@ -366,7 +366,6 @@ static int max8907_regulator_probe(struct platform_device *pdev) ...@@ -366,7 +366,6 @@ static int max8907_regulator_probe(struct platform_device *pdev)
static struct platform_driver max8907_regulator_driver = { static struct platform_driver max8907_regulator_driver = {
.driver = { .driver = {
.name = "max8907-regulator", .name = "max8907-regulator",
.owner = THIS_MODULE,
}, },
.probe = max8907_regulator_probe, .probe = max8907_regulator_probe,
}; };
......
...@@ -324,7 +324,6 @@ static int max8925_regulator_probe(struct platform_device *pdev) ...@@ -324,7 +324,6 @@ static int max8925_regulator_probe(struct platform_device *pdev)
static struct platform_driver max8925_regulator_driver = { static struct platform_driver max8925_regulator_driver = {
.driver = { .driver = {
.name = "max8925-regulator", .name = "max8925-regulator",
.owner = THIS_MODULE,
}, },
.probe = max8925_regulator_probe, .probe = max8925_regulator_probe,
}; };
......
...@@ -1218,7 +1218,6 @@ MODULE_DEVICE_TABLE(platform, max8997_pmic_id); ...@@ -1218,7 +1218,6 @@ MODULE_DEVICE_TABLE(platform, max8997_pmic_id);
static struct platform_driver max8997_pmic_driver = { static struct platform_driver max8997_pmic_driver = {
.driver = { .driver = {
.name = "max8997-pmic", .name = "max8997-pmic",
.owner = THIS_MODULE,
}, },
.probe = max8997_pmic_probe, .probe = max8997_pmic_probe,
.id_table = max8997_pmic_id, .id_table = max8997_pmic_id,
......
...@@ -894,7 +894,6 @@ MODULE_DEVICE_TABLE(platform, max8998_pmic_id); ...@@ -894,7 +894,6 @@ MODULE_DEVICE_TABLE(platform, max8998_pmic_id);
static struct platform_driver max8998_pmic_driver = { static struct platform_driver max8998_pmic_driver = {
.driver = { .driver = {
.name = "max8998-pmic", .name = "max8998-pmic",
.owner = THIS_MODULE,
}, },
.probe = max8998_pmic_probe, .probe = max8998_pmic_probe,
.id_table = max8998_pmic_id, .id_table = max8998_pmic_id,
......
...@@ -459,7 +459,6 @@ static int mc13783_regulator_probe(struct platform_device *pdev) ...@@ -459,7 +459,6 @@ static int mc13783_regulator_probe(struct platform_device *pdev)
static struct platform_driver mc13783_regulator_driver = { static struct platform_driver mc13783_regulator_driver = {
.driver = { .driver = {
.name = "mc13783-regulator", .name = "mc13783-regulator",
.owner = THIS_MODULE,
}, },
.probe = mc13783_regulator_probe, .probe = mc13783_regulator_probe,
}; };
......
...@@ -633,7 +633,6 @@ static int mc13892_regulator_probe(struct platform_device *pdev) ...@@ -633,7 +633,6 @@ static int mc13892_regulator_probe(struct platform_device *pdev)
static struct platform_driver mc13892_regulator_driver = { static struct platform_driver mc13892_regulator_driver = {
.driver = { .driver = {
.name = "mc13892-regulator", .name = "mc13892-regulator",
.owner = THIS_MODULE,
}, },
.probe = mc13892_regulator_probe, .probe = mc13892_regulator_probe,
}; };
......
...@@ -1610,7 +1610,6 @@ static struct platform_driver palmas_driver = { ...@@ -1610,7 +1610,6 @@ static struct platform_driver palmas_driver = {
.driver = { .driver = {
.name = "palmas-pmic", .name = "palmas-pmic",
.of_match_table = of_palmas_match_tbl, .of_match_table = of_palmas_match_tbl,
.owner = THIS_MODULE,
}, },
.probe = palmas_regulators_probe, .probe = palmas_regulators_probe,
}; };
......
...@@ -185,7 +185,6 @@ static struct platform_driver pbias_regulator_driver = { ...@@ -185,7 +185,6 @@ static struct platform_driver pbias_regulator_driver = {
.probe = pbias_regulator_probe, .probe = pbias_regulator_probe,
.driver = { .driver = {
.name = "pbias-regulator", .name = "pbias-regulator",
.owner = THIS_MODULE,
.of_match_table = of_match_ptr(pbias_of_match), .of_match_table = of_match_ptr(pbias_of_match),
}, },
}; };
......
...@@ -259,7 +259,6 @@ static int pcap_regulator_probe(struct platform_device *pdev) ...@@ -259,7 +259,6 @@ static int pcap_regulator_probe(struct platform_device *pdev)
static struct platform_driver pcap_regulator_driver = { static struct platform_driver pcap_regulator_driver = {
.driver = { .driver = {
.name = "pcap-regulator", .name = "pcap-regulator",
.owner = THIS_MODULE,
}, },
.probe = pcap_regulator_probe, .probe = pcap_regulator_probe,
}; };
......
...@@ -183,7 +183,6 @@ MODULE_DEVICE_TABLE(of, pwm_of_match); ...@@ -183,7 +183,6 @@ MODULE_DEVICE_TABLE(of, pwm_of_match);
static struct platform_driver pwm_regulator_driver = { static struct platform_driver pwm_regulator_driver = {
.driver = { .driver = {
.name = "pwm-regulator", .name = "pwm-regulator",
.owner = THIS_MODULE,
.of_match_table = of_match_ptr(pwm_of_match), .of_match_table = of_match_ptr(pwm_of_match),
}, },
.probe = pwm_regulator_probe, .probe = pwm_regulator_probe,
......
...@@ -777,7 +777,6 @@ static struct platform_driver rpm_reg_driver = { ...@@ -777,7 +777,6 @@ static struct platform_driver rpm_reg_driver = {
.probe = rpm_reg_probe, .probe = rpm_reg_probe,
.driver = { .driver = {
.name = "qcom_rpm_reg", .name = "qcom_rpm_reg",
.owner = THIS_MODULE,
.of_match_table = of_match_ptr(rpm_of_match), .of_match_table = of_match_ptr(rpm_of_match),
}, },
}; };
......
...@@ -179,7 +179,6 @@ static int rc5t583_regulator_probe(struct platform_device *pdev) ...@@ -179,7 +179,6 @@ static int rc5t583_regulator_probe(struct platform_device *pdev)
static struct platform_driver rc5t583_regulator_driver = { static struct platform_driver rc5t583_regulator_driver = {
.driver = { .driver = {
.name = "rc5t583-regulator", .name = "rc5t583-regulator",
.owner = THIS_MODULE,
}, },
.probe = rc5t583_regulator_probe, .probe = rc5t583_regulator_probe,
}; };
......
...@@ -368,7 +368,6 @@ static struct platform_driver rk808_regulator_driver = { ...@@ -368,7 +368,6 @@ static struct platform_driver rk808_regulator_driver = {
.probe = rk808_regulator_probe, .probe = rk808_regulator_probe,
.driver = { .driver = {
.name = "rk808-regulator", .name = "rk808-regulator",
.owner = THIS_MODULE,
}, },
}; };
......
...@@ -405,7 +405,6 @@ MODULE_DEVICE_TABLE(platform, s2mpa01_pmic_id); ...@@ -405,7 +405,6 @@ MODULE_DEVICE_TABLE(platform, s2mpa01_pmic_id);
static struct platform_driver s2mpa01_pmic_driver = { static struct platform_driver s2mpa01_pmic_driver = {
.driver = { .driver = {
.name = "s2mpa01-pmic", .name = "s2mpa01-pmic",
.owner = THIS_MODULE,
}, },
.probe = s2mpa01_pmic_probe, .probe = s2mpa01_pmic_probe,
.id_table = s2mpa01_pmic_id, .id_table = s2mpa01_pmic_id,
......
...@@ -936,7 +936,6 @@ MODULE_DEVICE_TABLE(platform, s2mps11_pmic_id); ...@@ -936,7 +936,6 @@ MODULE_DEVICE_TABLE(platform, s2mps11_pmic_id);
static struct platform_driver s2mps11_pmic_driver = { static struct platform_driver s2mps11_pmic_driver = {
.driver = { .driver = {
.name = "s2mps11-pmic", .name = "s2mps11-pmic",
.owner = THIS_MODULE,
}, },
.probe = s2mps11_pmic_probe, .probe = s2mps11_pmic_probe,
.id_table = s2mps11_pmic_id, .id_table = s2mps11_pmic_id,
......
...@@ -986,7 +986,6 @@ MODULE_DEVICE_TABLE(platform, s5m8767_pmic_id); ...@@ -986,7 +986,6 @@ MODULE_DEVICE_TABLE(platform, s5m8767_pmic_id);
static struct platform_driver s5m8767_pmic_driver = { static struct platform_driver s5m8767_pmic_driver = {
.driver = { .driver = {
.name = "s5m8767-pmic", .name = "s5m8767-pmic",
.owner = THIS_MODULE,
}, },
.probe = s5m8767_pmic_probe, .probe = s5m8767_pmic_probe,
.id_table = s5m8767_pmic_id, .id_table = s5m8767_pmic_id,
......
...@@ -94,7 +94,6 @@ static const struct of_device_id stw481x_vmmc_match[] = { ...@@ -94,7 +94,6 @@ static const struct of_device_id stw481x_vmmc_match[] = {
static struct platform_driver stw481x_vmmc_regulator_driver = { static struct platform_driver stw481x_vmmc_regulator_driver = {
.driver = { .driver = {
.name = "stw481x-vmmc-regulator", .name = "stw481x-vmmc-regulator",
.owner = THIS_MODULE,
.of_match_table = stw481x_vmmc_match, .of_match_table = stw481x_vmmc_match,
}, },
.probe = stw481x_vmmc_regulator_probe, .probe = stw481x_vmmc_regulator_probe,
......
...@@ -891,7 +891,6 @@ static struct platform_driver ti_abb_driver = { ...@@ -891,7 +891,6 @@ static struct platform_driver ti_abb_driver = {
.probe = ti_abb_probe, .probe = ti_abb_probe,
.driver = { .driver = {
.name = "ti_abb", .name = "ti_abb",
.owner = THIS_MODULE,
.of_match_table = of_match_ptr(ti_abb_of_match), .of_match_table = of_match_ptr(ti_abb_of_match),
}, },
}; };
......
...@@ -163,7 +163,6 @@ static int tps6105x_regulator_probe(struct platform_device *pdev) ...@@ -163,7 +163,6 @@ static int tps6105x_regulator_probe(struct platform_device *pdev)
static struct platform_driver tps6105x_regulator_driver = { static struct platform_driver tps6105x_regulator_driver = {
.driver = { .driver = {
.name = "tps6105x-regulator", .name = "tps6105x-regulator",
.owner = THIS_MODULE,
}, },
.probe = tps6105x_regulator_probe, .probe = tps6105x_regulator_probe,
}; };
......
...@@ -519,7 +519,6 @@ static int tps6507x_pmic_probe(struct platform_device *pdev) ...@@ -519,7 +519,6 @@ static int tps6507x_pmic_probe(struct platform_device *pdev)
static struct platform_driver tps6507x_pmic_driver = { static struct platform_driver tps6507x_pmic_driver = {
.driver = { .driver = {
.name = "tps6507x-pmic", .name = "tps6507x-pmic",
.owner = THIS_MODULE,
}, },
.probe = tps6507x_pmic_probe, .probe = tps6507x_pmic_probe,
}; };
......
...@@ -507,7 +507,6 @@ static int tps65090_regulator_probe(struct platform_device *pdev) ...@@ -507,7 +507,6 @@ static int tps65090_regulator_probe(struct platform_device *pdev)
static struct platform_driver tps65090_regulator_driver = { static struct platform_driver tps65090_regulator_driver = {
.driver = { .driver = {
.name = "tps65090-pmic", .name = "tps65090-pmic",
.owner = THIS_MODULE,
}, },
.probe = tps65090_regulator_probe, .probe = tps65090_regulator_probe,
}; };
......
...@@ -255,7 +255,6 @@ static int tps65218_regulator_probe(struct platform_device *pdev) ...@@ -255,7 +255,6 @@ static int tps65218_regulator_probe(struct platform_device *pdev)
static struct platform_driver tps65218_regulator_driver = { static struct platform_driver tps65218_regulator_driver = {
.driver = { .driver = {
.name = "tps65218-pmic", .name = "tps65218-pmic",
.owner = THIS_MODULE,
.of_match_table = tps65218_of_match, .of_match_table = tps65218_of_match,
}, },
.probe = tps65218_regulator_probe, .probe = tps65218_regulator_probe,
......
...@@ -522,7 +522,6 @@ static int tps6586x_regulator_probe(struct platform_device *pdev) ...@@ -522,7 +522,6 @@ static int tps6586x_regulator_probe(struct platform_device *pdev)
static struct platform_driver tps6586x_regulator_driver = { static struct platform_driver tps6586x_regulator_driver = {
.driver = { .driver = {
.name = "tps6586x-regulator", .name = "tps6586x-regulator",
.owner = THIS_MODULE,
}, },
.probe = tps6586x_regulator_probe, .probe = tps6586x_regulator_probe,
}; };
......
...@@ -1245,7 +1245,6 @@ static void tps65910_shutdown(struct platform_device *pdev) ...@@ -1245,7 +1245,6 @@ static void tps65910_shutdown(struct platform_device *pdev)
static struct platform_driver tps65910_driver = { static struct platform_driver tps65910_driver = {
.driver = { .driver = {
.name = "tps65910-pmic", .name = "tps65910-pmic",
.owner = THIS_MODULE,
}, },
.probe = tps65910_probe, .probe = tps65910_probe,
.shutdown = tps65910_shutdown, .shutdown = tps65910_shutdown,
......
...@@ -519,7 +519,6 @@ static int tps65912_probe(struct platform_device *pdev) ...@@ -519,7 +519,6 @@ static int tps65912_probe(struct platform_device *pdev)
static struct platform_driver tps65912_driver = { static struct platform_driver tps65912_driver = {
.driver = { .driver = {
.name = "tps65912-pmic", .name = "tps65912-pmic",
.owner = THIS_MODULE,
}, },
.probe = tps65912_probe, .probe = tps65912_probe,
}; };
......
...@@ -746,7 +746,6 @@ static int tps80031_regulator_probe(struct platform_device *pdev) ...@@ -746,7 +746,6 @@ static int tps80031_regulator_probe(struct platform_device *pdev)
static struct platform_driver tps80031_regulator_driver = { static struct platform_driver tps80031_regulator_driver = {
.driver = { .driver = {
.name = "tps80031-pmic", .name = "tps80031-pmic",
.owner = THIS_MODULE,
}, },
.probe = tps80031_regulator_probe, .probe = tps80031_regulator_probe,
}; };
......
...@@ -1220,7 +1220,6 @@ static struct platform_driver twlreg_driver = { ...@@ -1220,7 +1220,6 @@ static struct platform_driver twlreg_driver = {
*/ */
.driver = { .driver = {
.name = "twl_reg", .name = "twl_reg",
.owner = THIS_MODULE,
.of_match_table = of_match_ptr(twl_of_match), .of_match_table = of_match_ptr(twl_of_match),
}, },
}; };
......
...@@ -107,7 +107,6 @@ static struct platform_driver vexpress_regulator_driver = { ...@@ -107,7 +107,6 @@ static struct platform_driver vexpress_regulator_driver = {
.probe = vexpress_regulator_probe, .probe = vexpress_regulator_probe,
.driver = { .driver = {
.name = DRVNAME, .name = DRVNAME,
.owner = THIS_MODULE,
.of_match_table = vexpress_regulator_of_match, .of_match_table = vexpress_regulator_of_match,
}, },
}; };
......
...@@ -338,7 +338,6 @@ static struct platform_driver regulator_virtual_consumer_driver = { ...@@ -338,7 +338,6 @@ static struct platform_driver regulator_virtual_consumer_driver = {
.remove = regulator_virtual_remove, .remove = regulator_virtual_remove,
.driver = { .driver = {
.name = "reg-virt-consumer", .name = "reg-virt-consumer",
.owner = THIS_MODULE,
}, },
}; };
......
...@@ -562,7 +562,6 @@ static struct platform_driver wm831x_buckv_driver = { ...@@ -562,7 +562,6 @@ static struct platform_driver wm831x_buckv_driver = {
.probe = wm831x_buckv_probe, .probe = wm831x_buckv_probe,
.driver = { .driver = {
.name = "wm831x-buckv", .name = "wm831x-buckv",
.owner = THIS_MODULE,
}, },
}; };
...@@ -689,7 +688,6 @@ static struct platform_driver wm831x_buckp_driver = { ...@@ -689,7 +688,6 @@ static struct platform_driver wm831x_buckp_driver = {
.probe = wm831x_buckp_probe, .probe = wm831x_buckp_probe,
.driver = { .driver = {
.name = "wm831x-buckp", .name = "wm831x-buckp",
.owner = THIS_MODULE,
}, },
}; };
...@@ -804,7 +802,6 @@ static struct platform_driver wm831x_boostp_driver = { ...@@ -804,7 +802,6 @@ static struct platform_driver wm831x_boostp_driver = {
.probe = wm831x_boostp_probe, .probe = wm831x_boostp_probe,
.driver = { .driver = {
.name = "wm831x-boostp", .name = "wm831x-boostp",
.owner = THIS_MODULE,
}, },
}; };
...@@ -880,7 +877,6 @@ static struct platform_driver wm831x_epe_driver = { ...@@ -880,7 +877,6 @@ static struct platform_driver wm831x_epe_driver = {
.probe = wm831x_epe_probe, .probe = wm831x_epe_probe,
.driver = { .driver = {
.name = "wm831x-epe", .name = "wm831x-epe",
.owner = THIS_MODULE,
}, },
}; };
......
...@@ -224,7 +224,6 @@ static struct platform_driver wm831x_isink_driver = { ...@@ -224,7 +224,6 @@ static struct platform_driver wm831x_isink_driver = {
.probe = wm831x_isink_probe, .probe = wm831x_isink_probe,
.driver = { .driver = {
.name = "wm831x-isink", .name = "wm831x-isink",
.owner = THIS_MODULE,
}, },
}; };
......
...@@ -307,7 +307,6 @@ static struct platform_driver wm831x_gp_ldo_driver = { ...@@ -307,7 +307,6 @@ static struct platform_driver wm831x_gp_ldo_driver = {
.probe = wm831x_gp_ldo_probe, .probe = wm831x_gp_ldo_probe,
.driver = { .driver = {
.name = "wm831x-ldo", .name = "wm831x-ldo",
.owner = THIS_MODULE,
}, },
}; };
...@@ -516,7 +515,6 @@ static struct platform_driver wm831x_aldo_driver = { ...@@ -516,7 +515,6 @@ static struct platform_driver wm831x_aldo_driver = {
.probe = wm831x_aldo_probe, .probe = wm831x_aldo_probe,
.driver = { .driver = {
.name = "wm831x-aldo", .name = "wm831x-aldo",
.owner = THIS_MODULE,
}, },
}; };
...@@ -650,7 +648,6 @@ static struct platform_driver wm831x_alive_ldo_driver = { ...@@ -650,7 +648,6 @@ static struct platform_driver wm831x_alive_ldo_driver = {
.probe = wm831x_alive_ldo_probe, .probe = wm831x_alive_ldo_probe,
.driver = { .driver = {
.name = "wm831x-alive-ldo", .name = "wm831x-alive-ldo",
.owner = THIS_MODULE,
}, },
}; };
......
...@@ -185,7 +185,6 @@ static struct platform_driver wm8994_ldo_driver = { ...@@ -185,7 +185,6 @@ static struct platform_driver wm8994_ldo_driver = {
.probe = wm8994_ldo_probe, .probe = wm8994_ldo_probe,
.driver = { .driver = {
.name = "wm8994-ldo", .name = "wm8994-ldo",
.owner = THIS_MODULE,
}, },
}; };
......
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