diff options
Diffstat (limited to 'drivers/hwmon')
-rw-r--r-- | drivers/hwmon/da9055-hwmon.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/hwmon/da9055-hwmon.c b/drivers/hwmon/da9055-hwmon.c index 029ecabc4380..73b3865f1207 100644 --- a/drivers/hwmon/da9055-hwmon.c +++ b/drivers/hwmon/da9055-hwmon.c | |||
@@ -278,10 +278,6 @@ static int da9055_hwmon_probe(struct platform_device *pdev) | |||
278 | if (hwmon_irq < 0) | 278 | if (hwmon_irq < 0) |
279 | return hwmon_irq; | 279 | return hwmon_irq; |
280 | 280 | ||
281 | hwmon_irq = regmap_irq_get_virq(hwmon->da9055->irq_data, hwmon_irq); | ||
282 | if (hwmon_irq < 0) | ||
283 | return hwmon_irq; | ||
284 | |||
285 | ret = devm_request_threaded_irq(&pdev->dev, hwmon_irq, | 281 | ret = devm_request_threaded_irq(&pdev->dev, hwmon_irq, |
286 | NULL, da9055_auxadc_irq, | 282 | NULL, da9055_auxadc_irq, |
287 | IRQF_TRIGGER_HIGH | IRQF_ONESHOT, | 283 | IRQF_TRIGGER_HIGH | IRQF_ONESHOT, |