diff options
author | Yong Zhang <yong.zhang0@gmail.com> | 2011-09-07 04:10:55 -0400 |
---|---|---|
committer | Wim Van Sebroeck <wim@iguana.be> | 2011-11-05 16:16:15 -0400 |
commit | 86b5912880453532440358b1486410ad49ef7672 (patch) | |
tree | f81e5cd360cf7a3141d52384893c4367589fb39b /drivers/watchdog | |
parent | 47bfd058132e6da2a582b85033867ce8b9f5f331 (diff) |
watchdog: irq: Remove IRQF_DISABLED
This flag is a NOOP and can be removed now.
Signed-off-by: Yong Zhang <yong.zhang0@gmail.com>
Acked-by: Wolfram Sang <w.sang@pengutronix.de>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to 'drivers/watchdog')
-rw-r--r-- | drivers/watchdog/coh901327_wdt.c | 2 | ||||
-rw-r--r-- | drivers/watchdog/eurotechwdt.c | 2 | ||||
-rw-r--r-- | drivers/watchdog/mpcore_wdt.c | 3 | ||||
-rw-r--r-- | drivers/watchdog/sb_wdog.c | 4 | ||||
-rw-r--r-- | drivers/watchdog/wdt.c | 2 | ||||
-rw-r--r-- | drivers/watchdog/wdt_pci.c | 2 |
6 files changed, 7 insertions, 8 deletions
diff --git a/drivers/watchdog/coh901327_wdt.c b/drivers/watchdog/coh901327_wdt.c index 9291506b8b23..03f449a430d2 100644 --- a/drivers/watchdog/coh901327_wdt.c +++ b/drivers/watchdog/coh901327_wdt.c | |||
@@ -429,7 +429,7 @@ static int __init coh901327_probe(struct platform_device *pdev) | |||
429 | writew(U300_WDOG_SR_RESET_STATUS_RESET, virtbase + U300_WDOG_SR); | 429 | writew(U300_WDOG_SR_RESET_STATUS_RESET, virtbase + U300_WDOG_SR); |
430 | 430 | ||
431 | irq = platform_get_irq(pdev, 0); | 431 | irq = platform_get_irq(pdev, 0); |
432 | if (request_irq(irq, coh901327_interrupt, IRQF_DISABLED, | 432 | if (request_irq(irq, coh901327_interrupt, 0, |
433 | DRV_NAME " Bark", pdev)) { | 433 | DRV_NAME " Bark", pdev)) { |
434 | ret = -EIO; | 434 | ret = -EIO; |
435 | goto out_no_irq; | 435 | goto out_no_irq; |
diff --git a/drivers/watchdog/eurotechwdt.c b/drivers/watchdog/eurotechwdt.c index f1d1da662fbe..41018d429abb 100644 --- a/drivers/watchdog/eurotechwdt.c +++ b/drivers/watchdog/eurotechwdt.c | |||
@@ -427,7 +427,7 @@ static int __init eurwdt_init(void) | |||
427 | { | 427 | { |
428 | int ret; | 428 | int ret; |
429 | 429 | ||
430 | ret = request_irq(irq, eurwdt_interrupt, IRQF_DISABLED, "eurwdt", NULL); | 430 | ret = request_irq(irq, eurwdt_interrupt, 0, "eurwdt", NULL); |
431 | if (ret) { | 431 | if (ret) { |
432 | printk(KERN_ERR "eurwdt: IRQ %d is not free.\n", irq); | 432 | printk(KERN_ERR "eurwdt: IRQ %d is not free.\n", irq); |
433 | goto out; | 433 | goto out; |
diff --git a/drivers/watchdog/mpcore_wdt.c b/drivers/watchdog/mpcore_wdt.c index 4dc31024d26c..82ccd36e2c90 100644 --- a/drivers/watchdog/mpcore_wdt.c +++ b/drivers/watchdog/mpcore_wdt.c | |||
@@ -367,8 +367,7 @@ static int __devinit mpcore_wdt_probe(struct platform_device *dev) | |||
367 | goto err_misc; | 367 | goto err_misc; |
368 | } | 368 | } |
369 | 369 | ||
370 | ret = request_irq(wdt->irq, mpcore_wdt_fire, IRQF_DISABLED, | 370 | ret = request_irq(wdt->irq, mpcore_wdt_fire, 0, "mpcore_wdt", wdt); |
371 | "mpcore_wdt", wdt); | ||
372 | if (ret) { | 371 | if (ret) { |
373 | dev_printk(KERN_ERR, wdt->dev, | 372 | dev_printk(KERN_ERR, wdt->dev, |
374 | "cannot register IRQ%d for watchdog\n", wdt->irq); | 373 | "cannot register IRQ%d for watchdog\n", wdt->irq); |
diff --git a/drivers/watchdog/sb_wdog.c b/drivers/watchdog/sb_wdog.c index f31493e65b38..b01a30e5a663 100644 --- a/drivers/watchdog/sb_wdog.c +++ b/drivers/watchdog/sb_wdog.c | |||
@@ -300,7 +300,7 @@ static int __init sbwdog_init(void) | |||
300 | * get the resources | 300 | * get the resources |
301 | */ | 301 | */ |
302 | 302 | ||
303 | ret = request_irq(1, sbwdog_interrupt, IRQF_DISABLED | IRQF_SHARED, | 303 | ret = request_irq(1, sbwdog_interrupt, IRQF_SHARED, |
304 | ident.identity, (void *)user_dog); | 304 | ident.identity, (void *)user_dog); |
305 | if (ret) { | 305 | if (ret) { |
306 | printk(KERN_ERR "%s: failed to request irq 1 - %d\n", | 306 | printk(KERN_ERR "%s: failed to request irq 1 - %d\n", |
@@ -350,7 +350,7 @@ void platform_wd_setup(void) | |||
350 | { | 350 | { |
351 | int ret; | 351 | int ret; |
352 | 352 | ||
353 | ret = request_irq(1, sbwdog_interrupt, IRQF_DISABLED | IRQF_SHARED, | 353 | ret = request_irq(1, sbwdog_interrupt, IRQF_SHARED, |
354 | "Kernel Watchdog", IOADDR(A_SCD_WDOG_CFG_0)); | 354 | "Kernel Watchdog", IOADDR(A_SCD_WDOG_CFG_0)); |
355 | if (ret) { | 355 | if (ret) { |
356 | printk(KERN_CRIT | 356 | printk(KERN_CRIT |
diff --git a/drivers/watchdog/wdt.c b/drivers/watchdog/wdt.c index bb03e151a1d0..d2ef002be96b 100644 --- a/drivers/watchdog/wdt.c +++ b/drivers/watchdog/wdt.c | |||
@@ -612,7 +612,7 @@ static int __init wdt_init(void) | |||
612 | goto out; | 612 | goto out; |
613 | } | 613 | } |
614 | 614 | ||
615 | ret = request_irq(irq, wdt_interrupt, IRQF_DISABLED, "wdt501p", NULL); | 615 | ret = request_irq(irq, wdt_interrupt, 0, "wdt501p", NULL); |
616 | if (ret) { | 616 | if (ret) { |
617 | printk(KERN_ERR "wdt: IRQ %d is not free.\n", irq); | 617 | printk(KERN_ERR "wdt: IRQ %d is not free.\n", irq); |
618 | goto outreg; | 618 | goto outreg; |
diff --git a/drivers/watchdog/wdt_pci.c b/drivers/watchdog/wdt_pci.c index 172dad6c7693..e0fc3baa9197 100644 --- a/drivers/watchdog/wdt_pci.c +++ b/drivers/watchdog/wdt_pci.c | |||
@@ -643,7 +643,7 @@ static int __devinit wdtpci_init_one(struct pci_dev *dev, | |||
643 | irq = dev->irq; | 643 | irq = dev->irq; |
644 | io = pci_resource_start(dev, 2); | 644 | io = pci_resource_start(dev, 2); |
645 | 645 | ||
646 | if (request_irq(irq, wdtpci_interrupt, IRQF_DISABLED | IRQF_SHARED, | 646 | if (request_irq(irq, wdtpci_interrupt, IRQF_SHARED, |
647 | "wdt_pci", &wdtpci_miscdev)) { | 647 | "wdt_pci", &wdtpci_miscdev)) { |
648 | printk(KERN_ERR PFX "IRQ %d is not free\n", irq); | 648 | printk(KERN_ERR PFX "IRQ %d is not free\n", irq); |
649 | goto out_reg; | 649 | goto out_reg; |