summaryrefslogtreecommitdiff
path: root/drivers/rtc/rtc-coh901331.c
diff options
context:
space:
mode:
authorYong Zhang <yong.zhang0@gmail.com>2012-03-24 02:02:34 +0400
committerLinus Torvalds <torvalds@linux-foundation.org>2012-03-24 03:58:39 +0400
commit2f6e5f9458646263d3d9ffadd5e11e3d8d15a7d0 (patch)
treed7c0e867b5de5a5b94c32c2c66a4e22e934918a7 /drivers/rtc/rtc-coh901331.c
parent2778ebcc09c002cccdbd6b5509b5cbf4161b486d (diff)
downloadlinux-2f6e5f9458646263d3d9ffadd5e11e3d8d15a7d0.tar.xz
drivers/rtc: remove IRQF_DISABLED
Since commit e58aa3d2d0cc ("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 b738a50a2026 ("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> Acked-by: Linus Walleij <linus.walleij@linaro.org> Acked-by: Wan ZongShun <mcuos.com@gmail.com> Cc: Alessandro Zummo <a.zummo@towertech.it> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Ingo Molnar <mingo@elte.hu> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/rtc/rtc-coh901331.c')
-rw-r--r--drivers/rtc/rtc-coh901331.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/rtc/rtc-coh901331.c b/drivers/rtc/rtc-coh901331.c
index 80f9c88214c5..a5b8a0c4ea84 100644
--- a/drivers/rtc/rtc-coh901331.c
+++ b/drivers/rtc/rtc-coh901331.c
@@ -199,7 +199,7 @@ static int __init coh901331_probe(struct platform_device *pdev)
}
rtap->irq = platform_get_irq(pdev, 0);
- if (request_irq(rtap->irq, coh901331_interrupt, IRQF_DISABLED,
+ if (request_irq(rtap->irq, coh901331_interrupt, 0,
"RTC COH 901 331 Alarm", rtap)) {
ret = -EIO;
goto out_no_irq;