Skip to content

Commit

Permalink
regulator: da9055: Remove use of regmap_irq_get_virq()
Browse files Browse the repository at this point in the history
Signed-off-by: Adam Thomson <Adam.Thomson.Opensource@diasemi.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
  • Loading branch information
Adam Thomson authored and Mark Brown committed Feb 7, 2014
1 parent 38dbfb5 commit f17083c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion drivers/regulator/da9055-regulator.c
Original file line number Diff line number Diff line change
Expand Up @@ -576,7 +576,9 @@ static int da9055_regulator_probe(struct platform_device *pdev)
/* Only LDO 5 and 6 has got the over current interrupt */
if (pdev->id == DA9055_ID_LDO5 || pdev->id == DA9055_ID_LDO6) {
irq = platform_get_irq_byname(pdev, "REGULATOR");
irq = regmap_irq_get_virq(da9055->irq_data, irq);
if (irq < 0)
return irq;

ret = devm_request_threaded_irq(&pdev->dev, irq, NULL,
da9055_ldo5_6_oc_irq,
IRQF_TRIGGER_HIGH |
Expand Down

0 comments on commit f17083c

Please sign in to comment.