summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/exynos4_tmu.c
diff options
context:
space:
mode:
authorYong Zhang <yong.zhang0@gmail.com>2011-09-21 11:28:57 +0200
committerGuenter Roeck <guenter.roeck@ericsson.com>2011-10-24 20:09:36 +0200
commit3f67f83525d43220e4ea2eb9abee141a4ff97fe7 (patch)
treeaed5a7fc6d159f2cd4a933c7066bdfddce74e761 /drivers/hwmon/exynos4_tmu.c
parenthwmon: Add driver for EXYNOS4 TMU (diff)
downloadlinux-3f67f83525d43220e4ea2eb9abee141a4ff97fe7.tar.xz
linux-3f67f83525d43220e4ea2eb9abee141a4ff97fe7.zip
hwmon: (exynos4_tmu) Remove IRQF_DISABLED
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>
Diffstat (limited to 'drivers/hwmon/exynos4_tmu.c')
-rw-r--r--drivers/hwmon/exynos4_tmu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwmon/exynos4_tmu.c b/drivers/hwmon/exynos4_tmu.c
index 0170c90c635e..faa0884f61f6 100644
--- a/drivers/hwmon/exynos4_tmu.c
+++ b/drivers/hwmon/exynos4_tmu.c
@@ -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);