X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=drivers%2Fregulator%2Fanatop-regulator.c;h=0199eeea63b13f6d770b49897d14bb3da1173290;hb=5031a2a7c12b837a0913c4139ebeb6bbff5e1aa5;hp=b6182e17b0dc490984cfbd4be7eb862abaaec3a2;hpb=e1b0144f9997d3d52c46785143699d82dd525f1d;p=~andy%2Flinux diff --git a/drivers/regulator/anatop-regulator.c b/drivers/regulator/anatop-regulator.c index b6182e17b0d..0199eeea63b 100644 --- a/drivers/regulator/anatop-regulator.c +++ b/drivers/regulator/anatop-regulator.c @@ -72,7 +72,7 @@ static struct regulator_ops anatop_rops = { .map_voltage = regulator_map_voltage_linear, }; -static int __devinit anatop_regulator_probe(struct platform_device *pdev) +static int anatop_regulator_probe(struct platform_device *pdev) { struct device *dev = &pdev->dev; struct device_node *np = dev->of_node; @@ -176,7 +176,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); @@ -200,7 +200,7 @@ static struct platform_driver anatop_regulator_driver = { .of_match_table = of_anatop_regulator_match_tbl, }, .probe = anatop_regulator_probe, - .remove = __devexit_p(anatop_regulator_remove), + .remove = anatop_regulator_remove, }; static int __init anatop_regulator_init(void)