提交 b1eb234f 编写于 作者: M Michael Opdenacker 提交者: Brian Norris

mtd: nand: remove deprecated IRQF_DISABLED

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: NMichael Opdenacker <michael.opdenacker@free-electrons.com>
Signed-off-by: NBrian Norris <computersforpeace@gmail.com>
上级 cb85b7e7
...@@ -1508,7 +1508,7 @@ static int mxcnd_probe(struct platform_device *pdev) ...@@ -1508,7 +1508,7 @@ static int mxcnd_probe(struct platform_device *pdev)
host->devtype_data->irq_control(host, 0); host->devtype_data->irq_control(host, 0);
err = devm_request_irq(&pdev->dev, host->irq, mxc_nfc_irq, err = devm_request_irq(&pdev->dev, host->irq, mxc_nfc_irq,
IRQF_DISABLED, DRIVER_NAME, host); 0, DRIVER_NAME, host);
if (err) if (err)
return err; return err;
......
...@@ -1213,8 +1213,7 @@ static int alloc_nand_resource(struct platform_device *pdev) ...@@ -1213,8 +1213,7 @@ static int alloc_nand_resource(struct platform_device *pdev)
/* initialize all interrupts to be disabled */ /* initialize all interrupts to be disabled */
disable_int(info, NDSR_MASK); disable_int(info, NDSR_MASK);
ret = request_irq(irq, pxa3xx_nand_irq, IRQF_DISABLED, ret = request_irq(irq, pxa3xx_nand_irq, 0, pdev->name, info);
pdev->name, info);
if (ret < 0) { if (ret < 0) {
dev_err(&pdev->dev, "failed to request IRQ\n"); dev_err(&pdev->dev, "failed to request IRQ\n");
goto fail_free_buf; goto fail_free_buf;
......
...@@ -428,8 +428,7 @@ static int tmio_probe(struct platform_device *dev) ...@@ -428,8 +428,7 @@ static int tmio_probe(struct platform_device *dev)
/* 15 us command delay time */ /* 15 us command delay time */
nand_chip->chip_delay = 15; nand_chip->chip_delay = 15;
retval = request_irq(irq, &tmio_irq, retval = request_irq(irq, &tmio_irq, 0, dev_name(&dev->dev), tmio);
IRQF_DISABLED, dev_name(&dev->dev), tmio);
if (retval) { if (retval) {
dev_err(&dev->dev, "request_irq error %d\n", retval); dev_err(&dev->dev, "request_irq error %d\n", retval);
goto err_irq; goto err_irq;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册