浏览代码

clocksource: sun4i: remove IRQF_DISABLED

IRQF_DISABLED is a no-op nowadays, so we can safely remove it.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Maxime Ripard 12 年之前
父节点
当前提交
3353652ce0
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/clocksource/sun4i_timer.c

+ 1 - 1
drivers/clocksource/sun4i_timer.c

@@ -133,7 +133,7 @@ static irqreturn_t sun4i_timer_interrupt(int irq, void *dev_id)
 
 static struct irqaction sun4i_timer_irq = {
 	.name = "sun4i_timer0",
-	.flags = IRQF_DISABLED | IRQF_TIMER | IRQF_IRQPOLL,
+	.flags = IRQF_TIMER | IRQF_IRQPOLL,
 	.handler = sun4i_timer_interrupt,
 	.dev_id = &sun4i_clockevent,
 };