mirror of
https://github.com/armbian/linux.git
synced 2026-01-06 10:13:00 -08:00
regulator: remove use of __devexit
CONFIG_HOTPLUG is going away as an option so __devexit is no longer needed. Signed-off-by: Bill Pemberton <wfp5p@virginia.edu> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
This commit is contained in:
committed by
Mark Brown
parent
ce6dd5da9d
commit
8dc995f56e
@@ -454,7 +454,7 @@ static int pm8607_regulator_probe(struct platform_device *pdev)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int __devexit pm8607_regulator_remove(struct platform_device *pdev)
|
||||
static int pm8607_regulator_remove(struct platform_device *pdev)
|
||||
{
|
||||
struct pm8607_regulator_info *info = platform_get_drvdata(pdev);
|
||||
|
||||
|
||||
@@ -187,7 +187,7 @@ static int aat2870_regulator_probe(struct platform_device *pdev)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int __devexit aat2870_regulator_remove(struct platform_device *pdev)
|
||||
static int aat2870_regulator_remove(struct platform_device *pdev)
|
||||
{
|
||||
struct regulator_dev *rdev = platform_get_drvdata(pdev);
|
||||
|
||||
|
||||
@@ -571,7 +571,7 @@ static int ab3100_regulators_probe(struct platform_device *pdev)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int __devexit ab3100_regulators_remove(struct platform_device *pdev)
|
||||
static int ab3100_regulators_remove(struct platform_device *pdev)
|
||||
{
|
||||
int i;
|
||||
|
||||
|
||||
@@ -817,7 +817,7 @@ static int ab8500_regulator_probe(struct platform_device *pdev)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static __devexit int ab8500_regulator_remove(struct platform_device *pdev)
|
||||
static int ab8500_regulator_remove(struct platform_device *pdev)
|
||||
{
|
||||
int i;
|
||||
|
||||
|
||||
@@ -256,7 +256,7 @@ err:
|
||||
return ret;
|
||||
}
|
||||
|
||||
static int __devexit ad5398_remove(struct i2c_client *client)
|
||||
static int ad5398_remove(struct i2c_client *client)
|
||||
{
|
||||
struct ad5398_chip_info *chip = i2c_get_clientdata(client);
|
||||
|
||||
|
||||
@@ -186,7 +186,7 @@ anatop_probe_end:
|
||||
return ret;
|
||||
}
|
||||
|
||||
static int __devexit anatop_regulator_remove(struct platform_device *pdev)
|
||||
static int anatop_regulator_remove(struct platform_device *pdev)
|
||||
{
|
||||
struct regulator_dev *rdev = platform_get_drvdata(pdev);
|
||||
struct anatop_regulator *sreg = rdev_get_drvdata(rdev);
|
||||
|
||||
@@ -115,7 +115,7 @@ static int arizona_ldo1_probe(struct platform_device *pdev)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static __devexit int arizona_ldo1_remove(struct platform_device *pdev)
|
||||
static int arizona_ldo1_remove(struct platform_device *pdev)
|
||||
{
|
||||
struct arizona_ldo1 *ldo1 = platform_get_drvdata(pdev);
|
||||
|
||||
|
||||
@@ -166,7 +166,7 @@ static int arizona_micsupp_probe(struct platform_device *pdev)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static __devexit int arizona_micsupp_remove(struct platform_device *pdev)
|
||||
static int arizona_micsupp_remove(struct platform_device *pdev)
|
||||
{
|
||||
struct arizona_micsupp *micsupp = platform_get_drvdata(pdev);
|
||||
|
||||
|
||||
@@ -499,7 +499,7 @@ static int da903x_regulator_probe(struct platform_device *pdev)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int __devexit da903x_regulator_remove(struct platform_device *pdev)
|
||||
static int da903x_regulator_remove(struct platform_device *pdev)
|
||||
{
|
||||
struct regulator_dev *rdev = platform_get_drvdata(pdev);
|
||||
|
||||
|
||||
@@ -430,7 +430,7 @@ static int da9052_regulator_probe(struct platform_device *pdev)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int __devexit da9052_regulator_remove(struct platform_device *pdev)
|
||||
static int da9052_regulator_remove(struct platform_device *pdev)
|
||||
{
|
||||
struct da9052_regulator *regulator = platform_get_drvdata(pdev);
|
||||
|
||||
|
||||
@@ -230,7 +230,7 @@ exit_no_debugfs:
|
||||
return -ENOMEM;
|
||||
}
|
||||
|
||||
int __devexit ux500_regulator_debug_exit(void)
|
||||
int ux500_regulator_debug_exit(void)
|
||||
{
|
||||
debugfs_remove_recursive(rdebug.dir);
|
||||
kfree(rdebug.state_after_suspend);
|
||||
|
||||
@@ -293,7 +293,7 @@ static int fan53555_regulator_probe(struct i2c_client *client,
|
||||
|
||||
}
|
||||
|
||||
static int __devexit fan53555_regulator_remove(struct i2c_client *client)
|
||||
static int fan53555_regulator_remove(struct i2c_client *client)
|
||||
{
|
||||
struct fan53555_device_info *di = i2c_get_clientdata(client);
|
||||
|
||||
|
||||
@@ -234,7 +234,7 @@ err:
|
||||
return ret;
|
||||
}
|
||||
|
||||
static int __devexit reg_fixed_voltage_remove(struct platform_device *pdev)
|
||||
static int reg_fixed_voltage_remove(struct platform_device *pdev)
|
||||
{
|
||||
struct fixed_voltage_data *drvdata = platform_get_drvdata(pdev);
|
||||
|
||||
|
||||
@@ -348,7 +348,7 @@ err:
|
||||
return ret;
|
||||
}
|
||||
|
||||
static int __devexit gpio_regulator_remove(struct platform_device *pdev)
|
||||
static int gpio_regulator_remove(struct platform_device *pdev)
|
||||
{
|
||||
struct gpio_regulator_data *drvdata = platform_get_drvdata(pdev);
|
||||
|
||||
|
||||
@@ -151,7 +151,7 @@ error:
|
||||
return err;
|
||||
}
|
||||
|
||||
static int __devexit isl6271a_remove(struct i2c_client *i2c)
|
||||
static int isl6271a_remove(struct i2c_client *i2c)
|
||||
{
|
||||
struct isl_pmic *pmic = i2c_get_clientdata(i2c);
|
||||
int i;
|
||||
|
||||
@@ -472,7 +472,7 @@ err_detect:
|
||||
return ret;
|
||||
}
|
||||
|
||||
static int __devexit lp3971_i2c_remove(struct i2c_client *i2c)
|
||||
static int lp3971_i2c_remove(struct i2c_client *i2c)
|
||||
{
|
||||
struct lp3971 *lp3971 = i2c_get_clientdata(i2c);
|
||||
int i;
|
||||
|
||||
@@ -569,7 +569,7 @@ err_detect:
|
||||
return ret;
|
||||
}
|
||||
|
||||
static int __devexit lp3972_i2c_remove(struct i2c_client *i2c)
|
||||
static int lp3972_i2c_remove(struct i2c_client *i2c)
|
||||
{
|
||||
struct lp3972 *lp3972 = i2c_get_clientdata(i2c);
|
||||
int i;
|
||||
|
||||
@@ -893,7 +893,7 @@ err_dev:
|
||||
return ret;
|
||||
}
|
||||
|
||||
static int __devexit lp872x_remove(struct i2c_client *cl)
|
||||
static int lp872x_remove(struct i2c_client *cl)
|
||||
{
|
||||
struct lp872x *lp = i2c_get_clientdata(cl);
|
||||
|
||||
|
||||
@@ -542,7 +542,7 @@ static int lp8788_buck_probe(struct platform_device *pdev)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int __devexit lp8788_buck_remove(struct platform_device *pdev)
|
||||
static int lp8788_buck_remove(struct platform_device *pdev)
|
||||
{
|
||||
struct lp8788_buck *buck = platform_get_drvdata(pdev);
|
||||
|
||||
|
||||
@@ -749,7 +749,7 @@ static int lp8788_dldo_probe(struct platform_device *pdev)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int __devexit lp8788_dldo_remove(struct platform_device *pdev)
|
||||
static int lp8788_dldo_remove(struct platform_device *pdev)
|
||||
{
|
||||
struct lp8788_ldo *ldo = platform_get_drvdata(pdev);
|
||||
|
||||
@@ -805,7 +805,7 @@ static int lp8788_aldo_probe(struct platform_device *pdev)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int __devexit lp8788_aldo_remove(struct platform_device *pdev)
|
||||
static int lp8788_aldo_remove(struct platform_device *pdev)
|
||||
{
|
||||
struct lp8788_ldo *ldo = platform_get_drvdata(pdev);
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user