aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/regulator/anatop-regulator.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/regulator/anatop-regulator.c')
-rw-r--r--drivers/regulator/anatop-regulator.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/regulator/anatop-regulator.c b/drivers/regulator/anatop-regulator.c
index 1af97686f444..1aa5246c79d9 100644
--- a/drivers/regulator/anatop-regulator.c
+++ b/drivers/regulator/anatop-regulator.c
@@ -87,7 +87,7 @@ static struct regulator_ops anatop_rops = {
87 .map_voltage = regulator_map_voltage_linear, 87 .map_voltage = regulator_map_voltage_linear,
88}; 88};
89 89
90static int __devinit anatop_regulator_probe(struct platform_device *pdev) 90static int anatop_regulator_probe(struct platform_device *pdev)
91{ 91{
92 struct device *dev = &pdev->dev; 92 struct device *dev = &pdev->dev;
93 struct device_node *np = dev->of_node; 93 struct device_node *np = dev->of_node;
@@ -186,7 +186,7 @@ anatop_probe_end:
186 return ret; 186 return ret;
187} 187}
188 188
189static int __devexit anatop_regulator_remove(struct platform_device *pdev) 189static int anatop_regulator_remove(struct platform_device *pdev)
190{ 190{
191 struct regulator_dev *rdev = platform_get_drvdata(pdev); 191 struct regulator_dev *rdev = platform_get_drvdata(pdev);
192 struct anatop_regulator *sreg = rdev_get_drvdata(rdev); 192 struct anatop_regulator *sreg = rdev_get_drvdata(rdev);
@@ -210,7 +210,7 @@ static struct platform_driver anatop_regulator_driver = {
210 .of_match_table = of_anatop_regulator_match_tbl, 210 .of_match_table = of_anatop_regulator_match_tbl,
211 }, 211 },
212 .probe = anatop_regulator_probe, 212 .probe = anatop_regulator_probe,
213 .remove = __devexit_p(anatop_regulator_remove), 213 .remove = anatop_regulator_remove,
214}; 214};
215 215
216static int __init anatop_regulator_init(void) 216static int __init anatop_regulator_init(void)