hwmon: (exynos4_tmu) Remove IRQF_DISABLED
authorYong Zhang <yong.zhang0@gmail.com>
Wed, 21 Sep 2011 09:28:57 +0000 (05:28 -0400)
committerGuenter Roeck <guenter.roeck@ericsson.com>
Mon, 24 Oct 2011 18:09:36 +0000 (11:09 -0700)
Since commit [c58543c8: genirq: Run irq handlers with interrupts disabled],
we run all interrupt handlers with interrupts disabled
and we even check and yell when an interrupt handler
returns with interrupts enabled (see commit [b738a50a:
genirq: Warn when handler enables interrupts]).

So now this flag is a NOOP and can be removed.

Signed-off-by: Yong Zhang <yong.zhang0@gmail.com>
Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
drivers/hwmon/exynos4_tmu.c

index 0170c90c635e6fc54776ee0552feee36af9143b2..faa0884f61f67bc49e72e93c075160d46078cba4 100644 (file)
@@ -394,7 +394,7 @@ static int __devinit exynos4_tmu_probe(struct platform_device *pdev)
        }
 
        ret = request_irq(data->irq, exynos4_tmu_irq,
-               IRQF_DISABLED | IRQF_TRIGGER_RISING,
+               IRQF_TRIGGER_RISING,
                "exynos4-tmu", data);
        if (ret) {
                dev_err(&pdev->dev, "Failed to request irq: %d\n", data->irq);