Skip to contentSkip to conversation

regulator: Remove more wm831x-specific IRQ operations

PATCH Applied Mark Brown 2 participants 2 messages Mar 18, 2011 – Mar 22, 2011

Subsystems (2)
lore
Share & tools
lore

Mark Brown

author
#0 lore raw

PATCH 1/1 regulator: Remove more wm831x-specific IRQ operations

These are the last users in the tree.

---
 drivers/regulator/wm831x-dcdc.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
drivers/regulator/wm831x-dcdc.c +3 -3
index 857d741..e93453b 100644
@@ -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);
@@ -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);
 
Signature · 1 line
1.7.4.1
#1 lore raw
Quoted 7 lines · Mark Brown

These are the last users in the tree.

---
 drivers/regulator/wm831x-dcdc.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

Applied.

Thanks

Liam