mtd: nand: remove deprecated IRQF_DISABLED
authorMichael Opdenacker <michael.opdenacker@free-electrons.com>
Sun, 13 Oct 2013 06:21:32 +0000 (08:21 +0200)
committerBrian Norris <computersforpeace@gmail.com>
Thu, 7 Nov 2013 08:08:56 +0000 (00:08 -0800)
This patch proposes to remove the use of the IRQF_DISABLED flag

It's a NOOP since 2.6.35 and it will be removed one day.

Signed-off-by: Michael Opdenacker <michael.opdenacker@free-electrons.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/nand/mxc_nand.c
drivers/mtd/nand/pxa3xx_nand.c
drivers/mtd/nand/tmio_nand.c

index 103775525c53ebbf518d9f37e198f8b41c2ec583..4edea7f4462f831c52abfa7a167e602f362902fd 100644 (file)
@@ -1508,7 +1508,7 @@ static int mxcnd_probe(struct platform_device *pdev)
        host->devtype_data->irq_control(host, 0);
 
        err = devm_request_irq(&pdev->dev, host->irq, mxc_nfc_irq,
-                       IRQF_DISABLED, DRIVER_NAME, host);
+                       0, DRIVER_NAME, host);
        if (err)
                return err;
 
index 64c258ec0170de78c45962839a343c0fa328dcc2..4cabdc9fda9076ceff440af42e028fb1073f9ed7 100644 (file)
@@ -1213,8 +1213,7 @@ static int alloc_nand_resource(struct platform_device *pdev)
        /* initialize all interrupts to be disabled */
        disable_int(info, NDSR_MASK);
 
-       ret = request_irq(irq, pxa3xx_nand_irq, IRQF_DISABLED,
-                         pdev->name, info);
+       ret = request_irq(irq, pxa3xx_nand_irq, 0, pdev->name, info);
        if (ret < 0) {
                dev_err(&pdev->dev, "failed to request IRQ\n");
                goto fail_free_buf;
index 396530d87ecfb824f5e7a4ede7a92e6c8f0d3a82..a3747c914d5718abd342f53f8253e2d4c0ea3353 100644 (file)
@@ -428,8 +428,7 @@ static int tmio_probe(struct platform_device *dev)
        /* 15 us command delay time */
        nand_chip->chip_delay = 15;
 
-       retval = request_irq(irq, &tmio_irq,
-                               IRQF_DISABLED, dev_name(&dev->dev), tmio);
+       retval = request_irq(irq, &tmio_irq, 0, dev_name(&dev->dev), tmio);
        if (retval) {
                dev_err(&dev->dev, "request_irq error %d\n", retval);
                goto err_irq;