Skip to content

Commit

Permalink
unicore32: Remove IRQF_DISABLED
Browse files Browse the repository at this point in the history
This flag is a NOOP and can be removed now.

Signed-off-by: Yong Zhang <yong.zhang0@gmail.com>
  • Loading branch information
Yong Zhang authored and Guan Xuetao committed Jan 10, 2012
1 parent 7037bd8 commit 86abc23
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions arch/unicore32/kernel/puv3-nb0916.c
Original file line number Diff line number Diff line change
Expand Up @@ -123,15 +123,15 @@ int __init mach_nb0916_init(void)

if (request_irq(gpio_to_irq(GPI_LCD_CASE_OFF),
&nb0916_lcdcaseoff_handler,
IRQF_DISABLED | IRQF_TRIGGER_RISING | IRQF_TRIGGER_FALLING,
IRQF_TRIGGER_RISING | IRQF_TRIGGER_FALLING,
"NB0916 lcd case off", NULL) < 0) {

printk(KERN_DEBUG "LCD-Case-OFF IRQ %d not available\n",
gpio_to_irq(GPI_LCD_CASE_OFF));
}

if (request_irq(gpio_to_irq(GPI_OTP_INT), &nb0916_overheat_handler,
IRQF_DISABLED | IRQF_TRIGGER_RISING | IRQF_TRIGGER_FALLING,
IRQF_TRIGGER_RISING | IRQF_TRIGGER_FALLING,
"NB0916 overheating protection", NULL) < 0) {

printk(KERN_DEBUG "Overheating Protection IRQ %d not available\n",
Expand Down
2 changes: 1 addition & 1 deletion arch/unicore32/kernel/time.c
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ static struct clocksource cksrc_puv3_oscr = {

static struct irqaction puv3_timer_irq = {
.name = "ost0",
.flags = IRQF_DISABLED | IRQF_TIMER | IRQF_IRQPOLL,
.flags = IRQF_TIMER | IRQF_IRQPOLL,
.handler = puv3_ost0_interrupt,
.dev_id = &ckevt_puv3_osmr0,
};
Expand Down

0 comments on commit 86abc23

Please sign in to comment.