Skip to content

Commit

Permalink
hwmon: (exynos4_tmu) Remove IRQF_DISABLED
Browse files Browse the repository at this point in the history
Since commit [c58543c: 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 [b738a50:
genirq: Warn when handler enables interrupts]).

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

Signed-off-by: Yong Zhang <[email protected]>
Signed-off-by: Guenter Roeck <[email protected]>
  • Loading branch information
yongzhang0 authored and Guenter Roeck committed Oct 24, 2011
1 parent 9d97e5c commit 3f67f83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/hwmon/exynos4_tmu.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 3f67f83

Please sign in to comment.