Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 69952369 authored by Mark Brown's avatar Mark Brown Committed by Liam Girdwood
Browse files

regulator: Remove more wm831x-specific IRQ operations



These are the last users in the tree.

Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: default avatarLiam Girdwood <lrg@slimlogic.co.uk>
parent 42ab616a
Loading
Loading
Loading
Loading
+3 −3
Original line number Original line Diff line number Diff line
@@ -604,8 +604,8 @@ static __devexit int wm831x_buckv_remove(struct platform_device *pdev)


	platform_set_drvdata(pdev, NULL);
	platform_set_drvdata(pdev, NULL);


	wm831x_free_irq(wm831x, platform_get_irq_byname(pdev, "HC"), dcdc);
	free_irq(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, "UV"), dcdc);
	regulator_unregister(dcdc->regulator);
	regulator_unregister(dcdc->regulator);
	if (dcdc->dvs_gpio)
	if (dcdc->dvs_gpio)
		gpio_free(dcdc->dvs_gpio);
		gpio_free(dcdc->dvs_gpio);
@@ -780,7 +780,7 @@ static __devexit int wm831x_buckp_remove(struct platform_device *pdev)


	platform_set_drvdata(pdev, NULL);
	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);
	regulator_unregister(dcdc->regulator);
	kfree(dcdc);
	kfree(dcdc);