aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/regulator
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2011-03-18 08:43:35 -0400
committerLiam Girdwood <lrg@slimlogic.co.uk>2011-03-26 10:15:06 -0400
commit69952369ed2367bae0ae207a6e380ed40cdbc414 (patch)
treec7cb32a3890aa0ce4428c2a05dd41b74afe8178d /drivers/regulator
parent42ab616afe8844261828395cc2e4708c867412c2 (diff)
regulator: Remove more wm831x-specific IRQ operations
These are the last users in the tree. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
Diffstat (limited to 'drivers/regulator')
-rw-r--r--drivers/regulator/wm831x-dcdc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/regulator/wm831x-dcdc.c b/drivers/regulator/wm831x-dcdc.c
index 857d741539da..e93453b1b978 100644
--- a/drivers/regulator/wm831x-dcdc.c
+++ b/drivers/regulator/wm831x-dcdc.c
@@ -604,8 +604,8 @@ static __devexit int wm831x_buckv_remove(struct platform_device *pdev)
604 604
605 platform_set_drvdata(pdev, NULL); 605 platform_set_drvdata(pdev, NULL);
606 606
607 wm831x_free_irq(wm831x, platform_get_irq_byname(pdev, "HC"), dcdc); 607 free_irq(platform_get_irq_byname(pdev, "HC"), dcdc);
608 wm831x_free_irq(wm831x, platform_get_irq_byname(pdev, "UV"), dcdc); 608 free_irq(platform_get_irq_byname(pdev, "UV"), dcdc);
609 regulator_unregister(dcdc->regulator); 609 regulator_unregister(dcdc->regulator);
610 if (dcdc->dvs_gpio) 610 if (dcdc->dvs_gpio)
611 gpio_free(dcdc->dvs_gpio); 611 gpio_free(dcdc->dvs_gpio);
@@ -780,7 +780,7 @@ static __devexit int wm831x_buckp_remove(struct platform_device *pdev)
780 780
781 platform_set_drvdata(pdev, NULL); 781 platform_set_drvdata(pdev, NULL);
782 782
783 wm831x_free_irq(wm831x, platform_get_irq_byname(pdev, "UV"), dcdc); 783 free_irq(platform_get_irq_byname(pdev, "UV"), dcdc);
784 regulator_unregister(dcdc->regulator); 784 regulator_unregister(dcdc->regulator);
785 kfree(dcdc); 785 kfree(dcdc);
786 786