Skip to content

Commit

Permalink
regulator: Remove more wm831x-specific IRQ operations
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Mark Brown authored and Liam Girdwood committed Mar 26, 2011
1 parent 42ab616 commit 6995236
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/regulator/wm831x-dcdc.c
Original file line number Diff line number Diff line change
Expand Up @@ -604,8 +604,8 @@ static __devexit int wm831x_buckv_remove(struct platform_device *pdev)

platform_set_drvdata(pdev, NULL);

wm831x_free_irq(wm831x, platform_get_irq_byname(pdev, "HC"), dcdc);
wm831x_free_irq(wm831x, platform_get_irq_byname(pdev, "UV"), dcdc);
free_irq(platform_get_irq_byname(pdev, "HC"), dcdc);
free_irq(platform_get_irq_byname(pdev, "UV"), dcdc);
regulator_unregister(dcdc->regulator);
if (dcdc->dvs_gpio)
gpio_free(dcdc->dvs_gpio);
Expand Down Expand Up @@ -780,7 +780,7 @@ static __devexit int wm831x_buckp_remove(struct platform_device *pdev)

platform_set_drvdata(pdev, NULL);

wm831x_free_irq(wm831x, platform_get_irq_byname(pdev, "UV"), dcdc);
free_irq(platform_get_irq_byname(pdev, "UV"), dcdc);
regulator_unregister(dcdc->regulator);
kfree(dcdc);

Expand Down

0 comments on commit 6995236

Please sign in to comment.