Messages in this thread Patch in this message | | | From | Adam Thomson <> | Date | Wed, 5 Feb 2014 17:48:36 +0000 | Subject | [PATCH 6/8] hwmon: da9055: Remove use of platform_get_irq_byname() |
| |
Signed-off-by: Adam Thomson <Adam.Thomson.Opensource@diasemi.com> --- drivers/hwmon/da9055-hwmon.c | 7 ++----- 1 files changed, 2 insertions(+), 5 deletions(-)
diff --git a/drivers/hwmon/da9055-hwmon.c b/drivers/hwmon/da9055-hwmon.c index 029ecab..1867682 100644 --- a/drivers/hwmon/da9055-hwmon.c +++ b/drivers/hwmon/da9055-hwmon.c @@ -274,11 +274,8 @@ static int da9055_hwmon_probe(struct platform_device *pdev)
platform_set_drvdata(pdev, hwmon);
- hwmon_irq = platform_get_irq_byname(pdev, "HWMON"); - if (hwmon_irq < 0) - return hwmon_irq; - - hwmon_irq = regmap_irq_get_virq(hwmon->da9055->irq_data, hwmon_irq); + hwmon_irq = regmap_irq_get_virq(hwmon->da9055->irq_data, + DA9055_IRQ_HWMON); if (hwmon_irq < 0) return hwmon_irq;
-- 1.7.0.4
| |