ARM: pxa: remove IRQF_DISABLED
authorMichael Opdenacker <michael.opdenacker@free-electrons.com>
Mon, 9 Dec 2013 10:22:22 +0000 (11:22 +0100)
committerOlof Johansson <olof@lixom.net>
Thu, 12 Dec 2013 01:32:41 +0000 (17:32 -0800)
This flag is a NOOP since 2.6.35 and can be removed.

Signed-off-by: Michael Opdenacker <michael.opdenacker@free-electrons.com>
Acked-by: Eric Miao <eric.y.miao@gmail.com>
Signed-off-by: Haojian Zhuang <haojian.zhuang@gmail.com>
[olof: Fixed compilation failure for pcm990-baseboard]
Signed-off-by: Olof Johansson <olof@lixom.net>
arch/arm/mach-pxa/am200epd.c
arch/arm/mach-pxa/am300epd.c
arch/arm/mach-pxa/em-x270.c
arch/arm/mach-pxa/magician.c
arch/arm/mach-pxa/mainstone.c
arch/arm/mach-pxa/pcm990-baseboard.c
arch/arm/mach-pxa/sharpsl_pm.c
arch/arm/mach-pxa/time.c
arch/arm/mach-pxa/trizeps4.c
arch/arm/plat-pxa/dma.c

index ffa6d811aad87f9febe4f4da663f40d2005203f1..12fb0f4ae359a284bf6a886b897a533a4f784694 100644 (file)
@@ -293,8 +293,7 @@ static int am200_setup_irq(struct fb_info *info)
        int ret;
 
        ret = request_irq(PXA_GPIO_TO_IRQ(RDY_GPIO_PIN), am200_handle_irq,
-                               IRQF_DISABLED|IRQF_TRIGGER_FALLING,
-                               "AM200", info->par);
+                               IRQF_TRIGGER_FALLING, "AM200", info->par);
        if (ret)
                dev_err(&am200_device->dev, "request_irq failed: %d\n", ret);
 
index 3dfec1ec462d68e6b1ed97d5daf594224e0e5af0..c9f309ae88c5b57d0ecf60ac8025d704df37bdc2 100644 (file)
@@ -241,8 +241,7 @@ static int am300_setup_irq(struct fb_info *info)
        struct broadsheetfb_par *par = info->par;
 
        ret = request_irq(PXA_GPIO_TO_IRQ(RDY_GPIO_PIN), am300_handle_irq,
-                               IRQF_DISABLED|IRQF_TRIGGER_RISING,
-                               "AM300", par);
+                               IRQF_TRIGGER_RISING, "AM300", par);
        if (ret)
                dev_err(&am300_device->dev, "request_irq failed: %d\n", ret);
 
index 8eb4e23c561d2569c1ede0e00dac6ecc402815c4..6915a9f6b3a32b11370841095c81627231ff55c6 100644 (file)
@@ -564,8 +564,7 @@ static int em_x270_mci_init(struct device *dev,
        }
 
        err = request_irq(gpio_to_irq(mmc_cd), em_x270_detect_int,
-                             IRQF_DISABLED | IRQF_TRIGGER_RISING |
-                             IRQF_TRIGGER_FALLING,
+                             IRQF_TRIGGER_RISING | IRQF_TRIGGER_FALLING,
                              "MMC card detect", data);
        if (err) {
                dev_err(dev, "can't request MMC card detect IRQ: %d\n", err);
index fab30d666cc72534493839521324a577a40e5a54..a9761c293028cebd348fbf7e43facdf34b166376 100644 (file)
@@ -634,7 +634,7 @@ static struct platform_device bq24022 = {
 static int magician_mci_init(struct device *dev,
                                irq_handler_t detect_irq, void *data)
 {
-       return request_irq(IRQ_MAGICIAN_SD, detect_irq, IRQF_DISABLED,
+       return request_irq(IRQ_MAGICIAN_SD, detect_irq, 0,
                           "mmc card detect", data);
 }
 
index 08ccc0718f319e4f7209e8592e50d0f26b92862d..78b84c0dfc79e63f173e3d299ea397d59bcf2115 100644 (file)
@@ -401,7 +401,7 @@ static int mainstone_mci_init(struct device *dev, irq_handler_t mstone_detect_in
         */
        MST_MSCWR1 &= ~MST_MSCWR1_MS_SEL;
 
-       err = request_irq(MAINSTONE_MMC_IRQ, mstone_detect_int, IRQF_DISABLED,
+       err = request_irq(MAINSTONE_MMC_IRQ, mstone_detect_int, 0,
                             "MMC card detect", data);
        if (err)
                printk(KERN_ERR "mainstone_mci_init: MMC/SD: can't request MMC card detect IRQ\n");
index 9a4e470f162bc0fc2403a1985e25d0cfd5bd2018..2897da2a5df6e69b7d6d330f2685eeedc4e09733 100644 (file)
@@ -327,7 +327,7 @@ static int pcm990_mci_init(struct device *dev, irq_handler_t mci_detect_int,
 {
        int err;
 
-       err = request_irq(PCM027_MMCDET_IRQ, mci_detect_int, IRQF_DISABLED,
+       err = request_irq(PCM027_MMCDET_IRQ, mci_detect_int, 0,
                             "MMC card detect", data);
        if (err)
                printk(KERN_ERR "pcm990_mci_init: MMC/SD: can't request MMC "
index 0a36d3585f26822191e7355c9d2e4208c77fcaff..051a6555cbf9ebfae29c4dbe88c3b13c047fbd77 100644 (file)
@@ -860,18 +860,18 @@ static int sharpsl_pm_probe(struct platform_device *pdev)
 
        /* Register interrupt handlers */
        irq = gpio_to_irq(sharpsl_pm.machinfo->gpio_acin);
-       if (request_irq(irq, sharpsl_ac_isr, IRQF_DISABLED | IRQF_TRIGGER_RISING | IRQF_TRIGGER_FALLING, "AC Input Detect", sharpsl_ac_isr)) {
+       if (request_irq(irq, sharpsl_ac_isr, IRQF_TRIGGER_RISING | IRQF_TRIGGER_FALLING, "AC Input Detect", sharpsl_ac_isr)) {
                dev_err(sharpsl_pm.dev, "Could not get irq %d.\n", irq);
        }
 
        irq = gpio_to_irq(sharpsl_pm.machinfo->gpio_batlock);
-       if (request_irq(irq, sharpsl_fatal_isr, IRQF_DISABLED | IRQF_TRIGGER_FALLING, "Battery Cover", sharpsl_fatal_isr)) {
+       if (request_irq(irq, sharpsl_fatal_isr, IRQF_TRIGGER_FALLING, "Battery Cover", sharpsl_fatal_isr)) {
                dev_err(sharpsl_pm.dev, "Could not get irq %d.\n", irq);
        }
 
        if (sharpsl_pm.machinfo->gpio_fatal) {
                irq = gpio_to_irq(sharpsl_pm.machinfo->gpio_fatal);
-               if (request_irq(irq, sharpsl_fatal_isr, IRQF_DISABLED | IRQF_TRIGGER_FALLING, "Fatal Battery", sharpsl_fatal_isr)) {
+               if (request_irq(irq, sharpsl_fatal_isr, IRQF_TRIGGER_FALLING, "Fatal Battery", sharpsl_fatal_isr)) {
                        dev_err(sharpsl_pm.dev, "Could not get irq %d.\n", irq);
                }
        }
@@ -879,7 +879,7 @@ static int sharpsl_pm_probe(struct platform_device *pdev)
        if (sharpsl_pm.machinfo->batfull_irq) {
                /* Register interrupt handler. */
                irq = gpio_to_irq(sharpsl_pm.machinfo->gpio_batfull);
-               if (request_irq(irq, sharpsl_chrg_full_isr, IRQF_DISABLED | IRQF_TRIGGER_RISING, "CO", sharpsl_chrg_full_isr)) {
+               if (request_irq(irq, sharpsl_chrg_full_isr, IRQF_TRIGGER_RISING, "CO", sharpsl_chrg_full_isr)) {
                        dev_err(sharpsl_pm.dev, "Could not get irq %d.\n", irq);
                }
        }
index 9aa852a8fab9f2c7784003764086cd9d1af8dc2e..5fdc9c4f05be5acb6c08beb68fb4ad1851eae3b8 100644 (file)
@@ -137,7 +137,7 @@ static struct clock_event_device ckevt_pxa_osmr0 = {
 
 static struct irqaction pxa_ost0_irq = {
        .name           = "ost0",
-       .flags          = IRQF_DISABLED | IRQF_TIMER | IRQF_IRQPOLL,
+       .flags          = IRQF_TIMER | IRQF_IRQPOLL,
        .handler        = pxa_ost0_interrupt,
        .dev_id         = &ckevt_pxa_osmr0,
 };
index c58043462acddc932ce7b1728488aa1eb290f361..872dcb20e75784710000bb7d409407be269e2bd3 100644 (file)
@@ -332,8 +332,7 @@ static int trizeps4_mci_init(struct device *dev, irq_handler_t mci_detect_int,
        int err;
 
        err = request_irq(TRIZEPS4_MMC_IRQ, mci_detect_int,
-                         IRQF_DISABLED | IRQF_TRIGGER_RISING,
-                         "MMC card detect", data);
+                         IRQF_TRIGGER_RISING, "MMC card detect", data);
        if (err) {
                printk(KERN_ERR "trizeps4_mci_init: MMC/SD: can't request"
                                                "MMC card detect IRQ\n");
index 79ef102e3b2bfdbd2e9b278315779e16ffbbaa39..054fc5a1a11cebb5abba72780d1eea507a961f47 100644 (file)
@@ -377,7 +377,7 @@ int __init pxa_init_dma(int irq, int num_ch)
                spin_lock_init(&dma_channels[i].lock);
        }
 
-       ret = request_irq(irq, dma_irq_handler, IRQF_DISABLED, "DMA", NULL);
+       ret = request_irq(irq, dma_irq_handler, 0, "DMA", NULL);
        if (ret) {
                printk (KERN_CRIT "Wow!  Can't register IRQ for DMA\n");
                kfree(dma_channels);