Commit 5eb9f2b9 authored by Bill Pemberton's avatar Bill Pemberton Committed by Mark Brown

regulator: remove use of __devexit_p

CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer
needed.
Signed-off-by: default avatarBill Pemberton <wfp5p@virginia.edu>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent f86221d2
...@@ -481,7 +481,7 @@ static struct platform_driver pm8607_regulator_driver = { ...@@ -481,7 +481,7 @@ static struct platform_driver pm8607_regulator_driver = {
.owner = THIS_MODULE, .owner = THIS_MODULE,
}, },
.probe = pm8607_regulator_probe, .probe = pm8607_regulator_probe,
.remove = __devexit_p(pm8607_regulator_remove), .remove = pm8607_regulator_remove,
.id_table = pm8607_regulator_driver_ids, .id_table = pm8607_regulator_driver_ids,
}; };
......
...@@ -201,7 +201,7 @@ static struct platform_driver aat2870_regulator_driver = { ...@@ -201,7 +201,7 @@ static struct platform_driver aat2870_regulator_driver = {
.owner = THIS_MODULE, .owner = THIS_MODULE,
}, },
.probe = aat2870_regulator_probe, .probe = aat2870_regulator_probe,
.remove = __devexit_p(aat2870_regulator_remove), .remove = aat2870_regulator_remove,
}; };
static int __init aat2870_regulator_init(void) static int __init aat2870_regulator_init(void)
......
...@@ -589,7 +589,7 @@ static struct platform_driver ab3100_regulators_driver = { ...@@ -589,7 +589,7 @@ static struct platform_driver ab3100_regulators_driver = {
.owner = THIS_MODULE, .owner = THIS_MODULE,
}, },
.probe = ab3100_regulators_probe, .probe = ab3100_regulators_probe,
.remove = __devexit_p(ab3100_regulators_remove), .remove = ab3100_regulators_remove,
}; };
static __init int ab3100_regulators_init(void) static __init int ab3100_regulators_init(void)
......
...@@ -836,7 +836,7 @@ static __devexit int ab8500_regulator_remove(struct platform_device *pdev) ...@@ -836,7 +836,7 @@ static __devexit int ab8500_regulator_remove(struct platform_device *pdev)
static struct platform_driver ab8500_regulator_driver = { static struct platform_driver ab8500_regulator_driver = {
.probe = ab8500_regulator_probe, .probe = ab8500_regulator_probe,
.remove = __devexit_p(ab8500_regulator_remove), .remove = ab8500_regulator_remove,
.driver = { .driver = {
.name = "ab8500-regulator", .name = "ab8500-regulator",
.owner = THIS_MODULE, .owner = THIS_MODULE,
......
...@@ -266,7 +266,7 @@ static int __devexit ad5398_remove(struct i2c_client *client) ...@@ -266,7 +266,7 @@ static int __devexit ad5398_remove(struct i2c_client *client)
static struct i2c_driver ad5398_driver = { static struct i2c_driver ad5398_driver = {
.probe = ad5398_probe, .probe = ad5398_probe,
.remove = __devexit_p(ad5398_remove), .remove = ad5398_remove,
.driver = { .driver = {
.name = "ad5398", .name = "ad5398",
}, },
......
...@@ -210,7 +210,7 @@ static struct platform_driver anatop_regulator_driver = { ...@@ -210,7 +210,7 @@ static struct platform_driver anatop_regulator_driver = {
.of_match_table = of_anatop_regulator_match_tbl, .of_match_table = of_anatop_regulator_match_tbl,
}, },
.probe = anatop_regulator_probe, .probe = anatop_regulator_probe,
.remove = __devexit_p(anatop_regulator_remove), .remove = anatop_regulator_remove,
}; };
static int __init anatop_regulator_init(void) static int __init anatop_regulator_init(void)
......
...@@ -126,7 +126,7 @@ static __devexit int arizona_ldo1_remove(struct platform_device *pdev) ...@@ -126,7 +126,7 @@ static __devexit int arizona_ldo1_remove(struct platform_device *pdev)
static struct platform_driver arizona_ldo1_driver = { static struct platform_driver arizona_ldo1_driver = {
.probe = arizona_ldo1_probe, .probe = arizona_ldo1_probe,
.remove = __devexit_p(arizona_ldo1_remove), .remove = arizona_ldo1_remove,
.driver = { .driver = {
.name = "arizona-ldo1", .name = "arizona-ldo1",
.owner = THIS_MODULE, .owner = THIS_MODULE,
......
...@@ -177,7 +177,7 @@ static __devexit int arizona_micsupp_remove(struct platform_device *pdev) ...@@ -177,7 +177,7 @@ static __devexit int arizona_micsupp_remove(struct platform_device *pdev)
static struct platform_driver arizona_micsupp_driver = { static struct platform_driver arizona_micsupp_driver = {
.probe = arizona_micsupp_probe, .probe = arizona_micsupp_probe,
.remove = __devexit_p(arizona_micsupp_remove), .remove = arizona_micsupp_remove,
.driver = { .driver = {
.name = "arizona-micsupp", .name = "arizona-micsupp",
.owner = THIS_MODULE, .owner = THIS_MODULE,
......
...@@ -513,7 +513,7 @@ static struct platform_driver da903x_regulator_driver = { ...@@ -513,7 +513,7 @@ static struct platform_driver da903x_regulator_driver = {
.owner = THIS_MODULE, .owner = THIS_MODULE,
}, },
.probe = da903x_regulator_probe, .probe = da903x_regulator_probe,
.remove = __devexit_p(da903x_regulator_remove), .remove = da903x_regulator_remove,
}; };
static int __init da903x_regulator_init(void) static int __init da903x_regulator_init(void)
......
...@@ -440,7 +440,7 @@ static int __devexit da9052_regulator_remove(struct platform_device *pdev) ...@@ -440,7 +440,7 @@ static int __devexit da9052_regulator_remove(struct platform_device *pdev)
static struct platform_driver da9052_regulator_driver = { static struct platform_driver da9052_regulator_driver = {
.probe = da9052_regulator_probe, .probe = da9052_regulator_probe,
.remove = __devexit_p(da9052_regulator_remove), .remove = da9052_regulator_remove,
.driver = { .driver = {
.name = "da9052-regulator", .name = "da9052-regulator",
.owner = THIS_MODULE, .owner = THIS_MODULE,
......
...@@ -311,7 +311,7 @@ static struct i2c_driver fan53555_regulator_driver = { ...@@ -311,7 +311,7 @@ static struct i2c_driver fan53555_regulator_driver = {
.name = "fan53555-regulator", .name = "fan53555-regulator",
}, },
.probe = fan53555_regulator_probe, .probe = fan53555_regulator_probe,
.remove = __devexit_p(fan53555_regulator_remove), .remove = fan53555_regulator_remove,
.id_table = fan53555_id, .id_table = fan53555_id,
}; };
......
...@@ -255,7 +255,7 @@ MODULE_DEVICE_TABLE(of, fixed_of_match); ...@@ -255,7 +255,7 @@ MODULE_DEVICE_TABLE(of, fixed_of_match);
static struct platform_driver regulator_fixed_voltage_driver = { static struct platform_driver regulator_fixed_voltage_driver = {
.probe = reg_fixed_voltage_probe, .probe = reg_fixed_voltage_probe,
.remove = __devexit_p(reg_fixed_voltage_remove), .remove = reg_fixed_voltage_remove,
.driver = { .driver = {
.name = "reg-fixed-voltage", .name = "reg-fixed-voltage",
.owner = THIS_MODULE, .owner = THIS_MODULE,
......
...@@ -371,7 +371,7 @@ static const struct of_device_id regulator_gpio_of_match[] __devinitconst = { ...@@ -371,7 +371,7 @@ static const struct of_device_id regulator_gpio_of_match[] __devinitconst = {
static struct platform_driver gpio_regulator_driver = { static struct platform_driver gpio_regulator_driver = {
.probe = gpio_regulator_probe, .probe = gpio_regulator_probe,
.remove = __devexit_p(gpio_regulator_remove), .remove = gpio_regulator_remove,
.driver = { .driver = {
.name = "gpio-regulator", .name = "gpio-regulator",
.owner = THIS_MODULE, .owner = THIS_MODULE,
......
...@@ -174,7 +174,7 @@ static struct i2c_driver isl6271a_i2c_driver = { ...@@ -174,7 +174,7 @@ static struct i2c_driver isl6271a_i2c_driver = {
.owner = THIS_MODULE, .owner = THIS_MODULE,
}, },
.probe = isl6271a_probe, .probe = isl6271a_probe,
.remove = __devexit_p(isl6271a_remove), .remove = isl6271a_remove,
.id_table = isl6271a_id, .id_table = isl6271a_id,
}; };
......
...@@ -498,7 +498,7 @@ static struct i2c_driver lp3971_i2c_driver = { ...@@ -498,7 +498,7 @@ static struct i2c_driver lp3971_i2c_driver = {
.owner = THIS_MODULE, .owner = THIS_MODULE,
}, },
.probe = lp3971_i2c_probe, .probe = lp3971_i2c_probe,
.remove = __devexit_p(lp3971_i2c_remove), .remove = lp3971_i2c_remove,
.id_table = lp3971_i2c_id, .id_table = lp3971_i2c_id,
}; };
......
...@@ -594,7 +594,7 @@ static struct i2c_driver lp3972_i2c_driver = { ...@@ -594,7 +594,7 @@ static struct i2c_driver lp3972_i2c_driver = {
.owner = THIS_MODULE, .owner = THIS_MODULE,
}, },
.probe = lp3972_i2c_probe, .probe = lp3972_i2c_probe,
.remove = __devexit_p(lp3972_i2c_remove), .remove = lp3972_i2c_remove,
.id_table = lp3972_i2c_id, .id_table = lp3972_i2c_id,
}; };
......
...@@ -914,7 +914,7 @@ static struct i2c_driver lp872x_driver = { ...@@ -914,7 +914,7 @@ static struct i2c_driver lp872x_driver = {
.owner = THIS_MODULE, .owner = THIS_MODULE,
}, },
.probe = lp872x_probe, .probe = lp872x_probe,
.remove = __devexit_p(lp872x_remove), .remove = lp872x_remove,
.id_table = lp872x_ids, .id_table = lp872x_ids,
}; };
......
...@@ -554,7 +554,7 @@ static int __devexit lp8788_buck_remove(struct platform_device *pdev) ...@@ -554,7 +554,7 @@ static int __devexit lp8788_buck_remove(struct platform_device *pdev)
static struct platform_driver lp8788_buck_driver = { static struct platform_driver lp8788_buck_driver = {
.probe = lp8788_buck_probe, .probe = lp8788_buck_probe,
.remove = __devexit_p(lp8788_buck_remove), .remove = lp8788_buck_remove,
.driver = { .driver = {
.name = LP8788_DEV_BUCK, .name = LP8788_DEV_BUCK,
.owner = THIS_MODULE, .owner = THIS_MODULE,
......
...@@ -761,7 +761,7 @@ static int __devexit lp8788_dldo_remove(struct platform_device *pdev) ...@@ -761,7 +761,7 @@ static int __devexit lp8788_dldo_remove(struct platform_device *pdev)
static struct platform_driver lp8788_dldo_driver = { static struct platform_driver lp8788_dldo_driver = {
.probe = lp8788_dldo_probe, .probe = lp8788_dldo_probe,
.remove = __devexit_p(lp8788_dldo_remove), .remove = lp8788_dldo_remove,
.driver = { .driver = {
.name = LP8788_DEV_DLDO, .name = LP8788_DEV_DLDO,
.owner = THIS_MODULE, .owner = THIS_MODULE,
...@@ -817,7 +817,7 @@ static int __devexit lp8788_aldo_remove(struct platform_device *pdev) ...@@ -817,7 +817,7 @@ static int __devexit lp8788_aldo_remove(struct platform_device *pdev)
static struct platform_driver lp8788_aldo_driver = { static struct platform_driver lp8788_aldo_driver = {
.probe = lp8788_aldo_probe, .probe = lp8788_aldo_probe,
.remove = __devexit_p(lp8788_aldo_remove), .remove = lp8788_aldo_remove,
.driver = { .driver = {
.name = LP8788_DEV_ALDO, .name = LP8788_DEV_ALDO,
.owner = THIS_MODULE, .owner = THIS_MODULE,
......
...@@ -207,7 +207,7 @@ MODULE_DEVICE_TABLE(i2c, max1586_id); ...@@ -207,7 +207,7 @@ MODULE_DEVICE_TABLE(i2c, max1586_id);
static struct i2c_driver max1586_pmic_driver = { static struct i2c_driver max1586_pmic_driver = {
.probe = max1586_pmic_probe, .probe = max1586_pmic_probe,
.remove = __devexit_p(max1586_pmic_remove), .remove = max1586_pmic_remove,
.driver = { .driver = {
.name = "max1586", .name = "max1586",
.owner = THIS_MODULE, .owner = THIS_MODULE,
......
...@@ -360,7 +360,7 @@ static struct platform_driver max77686_pmic_driver = { ...@@ -360,7 +360,7 @@ static struct platform_driver max77686_pmic_driver = {
.owner = THIS_MODULE, .owner = THIS_MODULE,
}, },
.probe = max77686_pmic_probe, .probe = max77686_pmic_probe,
.remove = __devexit_p(max77686_pmic_remove), .remove = max77686_pmic_remove,
.id_table = max77686_pmic_id, .id_table = max77686_pmic_id,
}; };
......
...@@ -291,7 +291,7 @@ MODULE_DEVICE_TABLE(i2c, max8649_id); ...@@ -291,7 +291,7 @@ MODULE_DEVICE_TABLE(i2c, max8649_id);
static struct i2c_driver max8649_driver = { static struct i2c_driver max8649_driver = {
.probe = max8649_regulator_probe, .probe = max8649_regulator_probe,
.remove = __devexit_p(max8649_regulator_remove), .remove = max8649_regulator_remove,
.driver = { .driver = {
.name = "max8649", .name = "max8649",
}, },
......
...@@ -440,7 +440,7 @@ MODULE_DEVICE_TABLE(i2c, max8660_id); ...@@ -440,7 +440,7 @@ MODULE_DEVICE_TABLE(i2c, max8660_id);
static struct i2c_driver max8660_driver = { static struct i2c_driver max8660_driver = {
.probe = max8660_probe, .probe = max8660_probe,
.remove = __devexit_p(max8660_remove), .remove = max8660_remove,
.driver = { .driver = {
.name = "max8660", .name = "max8660",
.owner = THIS_MODULE, .owner = THIS_MODULE,
......
...@@ -385,7 +385,7 @@ static struct platform_driver max8907_regulator_driver = { ...@@ -385,7 +385,7 @@ static struct platform_driver max8907_regulator_driver = {
.owner = THIS_MODULE, .owner = THIS_MODULE,
}, },
.probe = max8907_regulator_probe, .probe = max8907_regulator_probe,
.remove = __devexit_p(max8907_regulator_remove), .remove = max8907_regulator_remove,
}; };
static int __init max8907_regulator_init(void) static int __init max8907_regulator_init(void)
......
...@@ -339,7 +339,7 @@ static struct platform_driver max8925_regulator_driver = { ...@@ -339,7 +339,7 @@ static struct platform_driver max8925_regulator_driver = {
.owner = THIS_MODULE, .owner = THIS_MODULE,
}, },
.probe = max8925_regulator_probe, .probe = max8925_regulator_probe,
.remove = __devexit_p(max8925_regulator_remove), .remove = max8925_regulator_remove,
}; };
static int __init max8925_regulator_init(void) static int __init max8925_regulator_init(void)
......
...@@ -268,7 +268,7 @@ MODULE_DEVICE_TABLE(i2c, max8952_ids); ...@@ -268,7 +268,7 @@ MODULE_DEVICE_TABLE(i2c, max8952_ids);
static struct i2c_driver max8952_pmic_driver = { static struct i2c_driver max8952_pmic_driver = {
.probe = max8952_pmic_probe, .probe = max8952_pmic_probe,
.remove = __devexit_p(max8952_pmic_remove), .remove = max8952_pmic_remove,
.driver = { .driver = {
.name = "max8952", .name = "max8952",
}, },
......
...@@ -1143,7 +1143,7 @@ static struct platform_driver max8997_pmic_driver = { ...@@ -1143,7 +1143,7 @@ static struct platform_driver max8997_pmic_driver = {
.owner = THIS_MODULE, .owner = THIS_MODULE,
}, },
.probe = max8997_pmic_probe, .probe = max8997_pmic_probe,
.remove = __devexit_p(max8997_pmic_remove), .remove = max8997_pmic_remove,
.id_table = max8997_pmic_id, .id_table = max8997_pmic_id,
}; };
......
...@@ -842,7 +842,7 @@ static struct platform_driver max8998_pmic_driver = { ...@@ -842,7 +842,7 @@ static struct platform_driver max8998_pmic_driver = {
.owner = THIS_MODULE, .owner = THIS_MODULE,
}, },
.probe = max8998_pmic_probe, .probe = max8998_pmic_probe,
.remove = __devexit_p(max8998_pmic_remove), .remove = max8998_pmic_remove,
.id_table = max8998_pmic_id, .id_table = max8998_pmic_id,
}; };
......
...@@ -465,7 +465,7 @@ static struct platform_driver mc13783_regulator_driver = { ...@@ -465,7 +465,7 @@ static struct platform_driver mc13783_regulator_driver = {
.name = "mc13783-regulator", .name = "mc13783-regulator",
.owner = THIS_MODULE, .owner = THIS_MODULE,
}, },
.remove = __devexit_p(mc13783_regulator_remove), .remove = mc13783_regulator_remove,
.probe = mc13783_regulator_probe, .probe = mc13783_regulator_probe,
}; };
......
...@@ -606,7 +606,7 @@ static struct platform_driver mc13892_regulator_driver = { ...@@ -606,7 +606,7 @@ static struct platform_driver mc13892_regulator_driver = {
.name = "mc13892-regulator", .name = "mc13892-regulator",
.owner = THIS_MODULE, .owner = THIS_MODULE,
}, },
.remove = __devexit_p(mc13892_regulator_remove), .remove = mc13892_regulator_remove,
.probe = mc13892_regulator_probe, .probe = mc13892_regulator_probe,
}; };
......
...@@ -890,7 +890,7 @@ static struct platform_driver palmas_driver = { ...@@ -890,7 +890,7 @@ static struct platform_driver palmas_driver = {
.owner = THIS_MODULE, .owner = THIS_MODULE,
}, },
.probe = palmas_probe, .probe = palmas_probe,
.remove = __devexit_p(palmas_remove), .remove = palmas_remove,
}; };
static int __init palmas_init(void) static int __init palmas_init(void)
......
...@@ -271,7 +271,7 @@ static struct platform_driver pcap_regulator_driver = { ...@@ -271,7 +271,7 @@ static struct platform_driver pcap_regulator_driver = {
.owner = THIS_MODULE, .owner = THIS_MODULE,
}, },
.probe = pcap_regulator_probe, .probe = pcap_regulator_probe,
.remove = __devexit_p(pcap_regulator_remove), .remove = pcap_regulator_remove,
}; };
static int __init pcap_regulator_init(void) static int __init pcap_regulator_init(void)
......
...@@ -237,7 +237,7 @@ static struct platform_driver pcf50633_regulator_driver = { ...@@ -237,7 +237,7 @@ static struct platform_driver pcf50633_regulator_driver = {
.name = "pcf50633-regltr", .name = "pcf50633-regltr",
}, },
.probe = pcf50633_regulator_probe, .probe = pcf50633_regulator_probe,
.remove = __devexit_p(pcf50633_regulator_remove), .remove = pcf50633_regulator_remove,
}; };
static int __init pcf50633_regulator_init(void) static int __init pcf50633_regulator_init(void)
......
...@@ -214,7 +214,7 @@ static struct platform_driver rc5t583_regulator_driver = { ...@@ -214,7 +214,7 @@ static struct platform_driver rc5t583_regulator_driver = {
.owner = THIS_MODULE, .owner = THIS_MODULE,
}, },
.probe = rc5t583_regulator_probe, .probe = rc5t583_regulator_probe,
.remove = __devexit_p(rc5t583_regulator_remove), .remove = rc5t583_regulator_remove,
}; };
static int __init rc5t583_regulator_init(void) static int __init rc5t583_regulator_init(void)
......
...@@ -330,7 +330,7 @@ static struct platform_driver s2mps11_pmic_driver = { ...@@ -330,7 +330,7 @@ static struct platform_driver s2mps11_pmic_driver = {
.owner = THIS_MODULE, .owner = THIS_MODULE,
}, },
.probe = s2mps11_pmic_probe, .probe = s2mps11_pmic_probe,
.remove = __devexit_p(s2mps11_pmic_remove), .remove = s2mps11_pmic_remove,
.id_table = s2mps11_pmic_id, .id_table = s2mps11_pmic_id,
}; };
......
...@@ -798,7 +798,7 @@ static struct platform_driver s5m8767_pmic_driver = { ...@@ -798,7 +798,7 @@ static struct platform_driver s5m8767_pmic_driver = {
.owner = THIS_MODULE, .owner = THIS_MODULE,
}, },
.probe = s5m8767_pmic_probe, .probe = s5m8767_pmic_probe,
.remove = __devexit_p(s5m8767_pmic_remove), .remove = s5m8767_pmic_remove,
.id_table = s5m8767_pmic_id, .id_table = s5m8767_pmic_id,
}; };
......
...@@ -311,7 +311,7 @@ static struct i2c_driver tps51632_i2c_driver = { ...@@ -311,7 +311,7 @@ static struct i2c_driver tps51632_i2c_driver = {
.owner = THIS_MODULE, .owner = THIS_MODULE,
}, },
.probe = tps51632_probe, .probe = tps51632_probe,
.remove = __devexit_p(tps51632_remove), .remove = tps51632_remove,
.id_table = tps51632_id, .id_table = tps51632_id,
}; };
......
...@@ -172,7 +172,7 @@ static struct platform_driver tps6105x_regulator_driver = { ...@@ -172,7 +172,7 @@ static struct platform_driver tps6105x_regulator_driver = {
.owner = THIS_MODULE, .owner = THIS_MODULE,
}, },
.probe = tps6105x_regulator_probe, .probe = tps6105x_regulator_probe,
.remove = __devexit_p(tps6105x_regulator_remove), .remove = tps6105x_regulator_remove,
}; };
static __init int tps6105x_regulator_init(void) static __init int tps6105x_regulator_init(void)
......
...@@ -531,7 +531,7 @@ static struct i2c_driver tps62360_i2c_driver = { ...@@ -531,7 +531,7 @@ static struct i2c_driver tps62360_i2c_driver = {
.of_match_table = of_match_ptr(tps62360_of_match), .of_match_table = of_match_ptr(tps62360_of_match),
}, },
.probe = tps62360_probe, .probe = tps62360_probe,
.remove = __devexit_p(tps62360_remove), .remove = tps62360_remove,
.shutdown = tps62360_shutdown, .shutdown = tps62360_shutdown,
.id_table = tps62360_id, .id_table = tps62360_id,
}; };
......
...@@ -446,7 +446,7 @@ static struct i2c_driver tps_65023_i2c_driver = { ...@@ -446,7 +446,7 @@ static struct i2c_driver tps_65023_i2c_driver = {
.owner = THIS_MODULE, .owner = THIS_MODULE,
}, },
.probe = tps_65023_probe, .probe = tps_65023_probe,
.remove = __devexit_p(tps_65023_remove), .remove = tps_65023_remove,
.id_table = tps_65023_id, .id_table = tps_65023_id,
}; };
......
...@@ -456,7 +456,7 @@ static struct platform_driver tps6507x_pmic_driver = { ...@@ -456,7 +456,7 @@ static struct platform_driver tps6507x_pmic_driver = {
.owner = THIS_MODULE, .owner = THIS_MODULE,
}, },
.probe = tps6507x_pmic_probe, .probe = tps6507x_pmic_probe,
.remove = __devexit_p(tps6507x_pmic_remove), .remove = tps6507x_pmic_remove,
}; };
static int __init tps6507x_pmic_init(void) static int __init tps6507x_pmic_init(void)
......
...@@ -251,7 +251,7 @@ static struct platform_driver tps65090_regulator_driver = { ...@@ -251,7 +251,7 @@ static struct platform_driver tps65090_regulator_driver = {
.owner = THIS_MODULE, .owner = THIS_MODULE,
}, },
.probe = tps65090_regulator_probe, .probe = tps65090_regulator_probe,
.remove = __devexit_p(tps65090_regulator_remove), .remove = tps65090_regulator_remove,
}; };
static int __init tps65090_regulator_init(void) static int __init tps65090_regulator_init(void)
......
...@@ -415,7 +415,7 @@ static struct platform_driver tps65217_regulator_driver = { ...@@ -415,7 +415,7 @@ static struct platform_driver tps65217_regulator_driver = {
.name = "tps65217-pmic", .name = "tps65217-pmic",
}, },
.probe = tps65217_regulator_probe, .probe = tps65217_regulator_probe,
.remove = __devexit_p(tps65217_regulator_remove), .remove = tps65217_regulator_remove,
}; };
static int __init tps65217_regulator_init(void) static int __init tps65217_regulator_init(void)
......
...@@ -649,7 +649,7 @@ static int __devinit pmic_probe(struct spi_device *spi) ...@@ -649,7 +649,7 @@ static int __devinit pmic_probe(struct spi_device *spi)
static struct spi_driver pmic_driver = { static struct spi_driver pmic_driver = {
.probe = pmic_probe, .probe = pmic_probe,
.remove = __devexit_p(pmic_remove), .remove = pmic_remove,
.driver = { .driver = {
.name = "tps6524x", .name = "tps6524x",
.owner = THIS_MODULE, .owner = THIS_MODULE,
......
...@@ -349,7 +349,7 @@ static struct platform_driver tps6586x_regulator_driver = { ...@@ -349,7 +349,7 @@ static struct platform_driver tps6586x_regulator_driver = {
.owner = THIS_MODULE, .owner = THIS_MODULE,
}, },
.probe = tps6586x_regulator_probe, .probe = tps6586x_regulator_probe,
.remove = __devexit_p(tps6586x_regulator_remove), .remove = tps6586x_regulator_remove,
}; };
static int __init tps6586x_regulator_init(void) static int __init tps6586x_regulator_init(void)
......
...@@ -1231,7 +1231,7 @@ static struct platform_driver tps65910_driver = { ...@@ -1231,7 +1231,7 @@ static struct platform_driver tps65910_driver = {
.owner = THIS_MODULE, .owner = THIS_MODULE,
}, },
.probe = tps65910_probe, .probe = tps65910_probe,
.remove = __devexit_p(tps65910_remove), .remove = tps65910_remove,
.shutdown = tps65910_shutdown, .shutdown = tps65910_shutdown,
}; };
......
...@@ -541,7 +541,7 @@ static struct platform_driver tps65912_driver = { ...@@ -541,7 +541,7 @@ static struct platform_driver tps65912_driver = {
.owner = THIS_MODULE, .owner = THIS_MODULE,
}, },
.probe = tps65912_probe, .probe = tps65912_probe,
.remove = __devexit_p(tps65912_remove), .remove = tps65912_remove,
}; };
static int __init tps65912_init(void) static int __init tps65912_init(void)
......
...@@ -772,7 +772,7 @@ static struct platform_driver tps80031_regulator_driver = { ...@@ -772,7 +772,7 @@ static struct platform_driver tps80031_regulator_driver = {
.owner = THIS_MODULE, .owner = THIS_MODULE,
}, },
.probe = tps80031_regulator_probe, .probe = tps80031_regulator_probe,
.remove = __devexit_p(tps80031_regulator_remove), .remove = tps80031_regulator_remove,
}; };
static int __init tps80031_regulator_init(void) static int __init tps80031_regulator_init(void)
......
...@@ -1255,7 +1255,7 @@ MODULE_ALIAS("platform:twl_reg"); ...@@ -1255,7 +1255,7 @@ MODULE_ALIAS("platform:twl_reg");
static struct platform_driver twlreg_driver = { static struct platform_driver twlreg_driver = {
.probe = twlreg_probe, .probe = twlreg_probe,
.remove = __devexit_p(twlreg_remove), .remove = twlreg_remove,
/* NOTE: short name, to work around driver model truncation of /* NOTE: short name, to work around driver model truncation of
* "twl_regulator.12" (and friends) to "twl_regulator.1". * "twl_regulator.12" (and friends) to "twl_regulator.1".
*/ */
......
...@@ -131,7 +131,7 @@ static struct of_device_id vexpress_regulator_of_match[] = { ...@@ -131,7 +131,7 @@ static struct of_device_id vexpress_regulator_of_match[] = {
static struct platform_driver vexpress_regulator_driver = { static struct platform_driver vexpress_regulator_driver = {
.probe = vexpress_regulator_probe, .probe = vexpress_regulator_probe,
.remove = __devexit_p(vexpress_regulator_remove), .remove = vexpress_regulator_remove,
.driver = { .driver = {
.name = DRVNAME, .name = DRVNAME,
.owner = THIS_MODULE, .owner = THIS_MODULE,
......
...@@ -337,7 +337,7 @@ static int __devexit regulator_virtual_remove(struct platform_device *pdev) ...@@ -337,7 +337,7 @@ static int __devexit regulator_virtual_remove(struct platform_device *pdev)
static struct platform_driver regulator_virtual_consumer_driver = { static struct platform_driver regulator_virtual_consumer_driver = {
.probe = regulator_virtual_probe, .probe = regulator_virtual_probe,
.remove = __devexit_p(regulator_virtual_remove), .remove = regulator_virtual_remove,
.driver = { .driver = {
.name = "reg-virt-consumer", .name = "reg-virt-consumer",
.owner = THIS_MODULE, .owner = THIS_MODULE,
......
...@@ -582,7 +582,7 @@ static __devexit int wm831x_buckv_remove(struct platform_device *pdev) ...@@ -582,7 +582,7 @@ static __devexit int wm831x_buckv_remove(struct platform_device *pdev)
static struct platform_driver wm831x_buckv_driver = { static struct platform_driver wm831x_buckv_driver = {
.probe = wm831x_buckv_probe, .probe = wm831x_buckv_probe,
.remove = __devexit_p(wm831x_buckv_remove), .remove = wm831x_buckv_remove,
.driver = { .driver = {
.name = "wm831x-buckv", .name = "wm831x-buckv",
.owner = THIS_MODULE, .owner = THIS_MODULE,
...@@ -725,7 +725,7 @@ static __devexit int wm831x_buckp_remove(struct platform_device *pdev) ...@@ -725,7 +725,7 @@ static __devexit int wm831x_buckp_remove(struct platform_device *pdev)
static struct platform_driver wm831x_buckp_driver = { static struct platform_driver wm831x_buckp_driver = {
.probe = wm831x_buckp_probe, .probe = wm831x_buckp_probe,
.remove = __devexit_p(wm831x_buckp_remove), .remove = wm831x_buckp_remove,
.driver = { .driver = {
.name = "wm831x-buckp", .name = "wm831x-buckp",
.owner = THIS_MODULE, .owner = THIS_MODULE,
...@@ -860,7 +860,7 @@ static __devexit int wm831x_boostp_remove(struct platform_device *pdev) ...@@ -860,7 +860,7 @@ static __devexit int wm831x_boostp_remove(struct platform_device *pdev)
static struct platform_driver wm831x_boostp_driver = { static struct platform_driver wm831x_boostp_driver = {
.probe = wm831x_boostp_probe, .probe = wm831x_boostp_probe,
.remove = __devexit_p(wm831x_boostp_remove), .remove = wm831x_boostp_remove,
.driver = { .driver = {
.name = "wm831x-boostp", .name = "wm831x-boostp",
.owner = THIS_MODULE, .owner = THIS_MODULE,
...@@ -948,7 +948,7 @@ static __devexit int wm831x_epe_remove(struct platform_device *pdev) ...@@ -948,7 +948,7 @@ static __devexit int wm831x_epe_remove(struct platform_device *pdev)
static struct platform_driver wm831x_epe_driver = { static struct platform_driver wm831x_epe_driver = {
.probe = wm831x_epe_probe, .probe = wm831x_epe_probe,
.remove = __devexit_p(wm831x_epe_remove), .remove = wm831x_epe_remove,
.driver = { .driver = {
.name = "wm831x-epe", .name = "wm831x-epe",
.owner = THIS_MODULE, .owner = THIS_MODULE,
......
...@@ -236,7 +236,7 @@ static __devexit int wm831x_isink_remove(struct platform_device *pdev) ...@@ -236,7 +236,7 @@ static __devexit int wm831x_isink_remove(struct platform_device *pdev)
static struct platform_driver wm831x_isink_driver = { static struct platform_driver wm831x_isink_driver = {
.probe = wm831x_isink_probe, .probe = wm831x_isink_probe,
.remove = __devexit_p(wm831x_isink_remove), .remove = wm831x_isink_remove,
.driver = { .driver = {
.name = "wm831x-isink", .name = "wm831x-isink",
.owner = THIS_MODULE, .owner = THIS_MODULE,
......
...@@ -349,7 +349,7 @@ static __devexit int wm831x_gp_ldo_remove(struct platform_device *pdev) ...@@ -349,7 +349,7 @@ static __devexit int wm831x_gp_ldo_remove(struct platform_device *pdev)
static struct platform_driver wm831x_gp_ldo_driver = { static struct platform_driver wm831x_gp_ldo_driver = {
.probe = wm831x_gp_ldo_probe, .probe = wm831x_gp_ldo_probe,
.remove = __devexit_p(wm831x_gp_ldo_remove), .remove = wm831x_gp_ldo_remove,
.driver = { .driver = {
.name = "wm831x-ldo", .name = "wm831x-ldo",
.owner = THIS_MODULE, .owner = THIS_MODULE,
...@@ -603,7 +603,7 @@ static __devexit int wm831x_aldo_remove(struct platform_device *pdev) ...@@ -603,7 +603,7 @@ static __devexit int wm831x_aldo_remove(struct platform_device *pdev)
static struct platform_driver wm831x_aldo_driver = { static struct platform_driver wm831x_aldo_driver = {
.probe = wm831x_aldo_probe, .probe = wm831x_aldo_probe,
.remove = __devexit_p(wm831x_aldo_remove), .remove = wm831x_aldo_remove,
.driver = { .driver = {
.name = "wm831x-aldo", .name = "wm831x-aldo",
.owner = THIS_MODULE, .owner = THIS_MODULE,
...@@ -748,7 +748,7 @@ static __devexit int wm831x_alive_ldo_remove(struct platform_device *pdev) ...@@ -748,7 +748,7 @@ static __devexit int wm831x_alive_ldo_remove(struct platform_device *pdev)
static struct platform_driver wm831x_alive_ldo_driver = { static struct platform_driver wm831x_alive_ldo_driver = {
.probe = wm831x_alive_ldo_probe, .probe = wm831x_alive_ldo_probe,
.remove = __devexit_p(wm831x_alive_ldo_remove), .remove = wm831x_alive_ldo_remove,
.driver = { .driver = {
.name = "wm831x-alive-ldo", .name = "wm831x-alive-ldo",
.owner = THIS_MODULE, .owner = THIS_MODULE,
......
...@@ -261,7 +261,7 @@ static struct platform_driver wm8400_regulator_driver = { ...@@ -261,7 +261,7 @@ static struct platform_driver wm8400_regulator_driver = {
.name = "wm8400-regulator", .name = "wm8400-regulator",
}, },
.probe = wm8400_regulator_probe, .probe = wm8400_regulator_probe,
.remove = __devexit_p(wm8400_regulator_remove), .remove = wm8400_regulator_remove,
}; };
/** /**
......
...@@ -155,7 +155,7 @@ static __devexit int wm8994_ldo_remove(struct platform_device *pdev) ...@@ -155,7 +155,7 @@ static __devexit int wm8994_ldo_remove(struct platform_device *pdev)
static struct platform_driver wm8994_ldo_driver = { static struct platform_driver wm8994_ldo_driver = {
.probe = wm8994_ldo_probe, .probe = wm8994_ldo_probe,
.remove = __devexit_p(wm8994_ldo_remove), .remove = wm8994_ldo_remove,
.driver = { .driver = {
.name = "wm8994-ldo", .name = "wm8994-ldo",
.owner = THIS_MODULE, .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