linux-mtd.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 44/62] mtd: irq: Remove IRQF_DISABLED
       [not found] <1315383059-3673-1-git-send-email-yong.zhang0@gmail.com>
@ 2011-09-07  8:10 ` Yong Zhang
  2011-09-09  8:03   ` Wolfram Sang
  0 siblings, 1 reply; 2+ messages in thread
From: Yong Zhang @ 2011-09-07  8:10 UTC (permalink / raw)
  To: linux-kernel
  Cc: Artem Bityutskiy, Baruch Siach, Eric Miao, Samuel Ortiz,
	John Ogness, Lei Wen, Sascha Hauer, Haojian Zhuang,
	Dmitry Eremin-Solenikov, linux-mtd, Andres Salomon, Jamie Iles,
	tglx, David Woodhouse, mingo

This flag is a NOOP and can be removed now.

Signed-off-by: Yong Zhang <yong.zhang0@gmail.com>
---
 drivers/mtd/nand/mxc_nand.c    |    2 +-
 drivers/mtd/nand/pxa3xx_nand.c |    3 +--
 drivers/mtd/nand/tmio_nand.c   |    2 +-
 3 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/drivers/mtd/nand/mxc_nand.c b/drivers/mtd/nand/mxc_nand.c
index 90df34c..5a1831b 100644
--- a/drivers/mtd/nand/mxc_nand.c
+++ b/drivers/mtd/nand/mxc_nand.c
@@ -1196,7 +1196,7 @@ static int __init mxcnd_probe(struct platform_device *pdev)
 	else
 		host->irq_control(host, 0);
 
-	err = request_irq(host->irq, mxc_nfc_irq, IRQF_DISABLED, DRIVER_NAME, host);
+	err = request_irq(host->irq, mxc_nfc_irq, 0, DRIVER_NAME, host);
 	if (err)
 		goto eirq;
 
diff --git a/drivers/mtd/nand/pxa3xx_nand.c b/drivers/mtd/nand/pxa3xx_nand.c
index 1fb3b3a..6f6f6fa 100644
--- a/drivers/mtd/nand/pxa3xx_nand.c
+++ b/drivers/mtd/nand/pxa3xx_nand.c
@@ -1061,8 +1061,7 @@ struct pxa3xx_nand_info *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;
diff --git a/drivers/mtd/nand/tmio_nand.c b/drivers/mtd/nand/tmio_nand.c
index 11e8371..a3bb5e0 100644
--- a/drivers/mtd/nand/tmio_nand.c
+++ b/drivers/mtd/nand/tmio_nand.c
@@ -446,7 +446,7 @@ static int tmio_probe(struct platform_device *dev)
 	nand_chip->chip_delay = 15;
 
 	retval = request_irq(irq, &tmio_irq,
-				IRQF_DISABLED, dev_name(&dev->dev), tmio);
+				0, dev_name(&dev->dev), tmio);
 	if (retval) {
 		dev_err(&dev->dev, "request_irq error %d\n", retval);
 		goto err_irq;
-- 
1.7.4.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH 44/62] mtd: irq: Remove IRQF_DISABLED
  2011-09-07  8:10 ` [PATCH 44/62] mtd: irq: Remove IRQF_DISABLED Yong Zhang
@ 2011-09-09  8:03   ` Wolfram Sang
  0 siblings, 0 replies; 2+ messages in thread
From: Wolfram Sang @ 2011-09-09  8:03 UTC (permalink / raw)
  To: Yong Zhang
  Cc: Artem Bityutskiy, Baruch Siach, Eric Miao, Samuel Ortiz,
	John Ogness, Lei Wen, Sascha Hauer, linux-kernel, Haojian Zhuang,
	Dmitry Eremin-Solenikov, linux-mtd, Andres Salomon, Jamie Iles,
	tglx, David Woodhouse, mingo

[-- Attachment #1: Type: text/plain, Size: 374 bytes --]

On Wed, Sep 07, 2011 at 04:10:41PM +0800, Yong Zhang wrote:
> 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>

-- 
Pengutronix e.K.                           | Wolfram Sang                |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-09-09  8:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <1315383059-3673-1-git-send-email-yong.zhang0@gmail.com>
2011-09-07  8:10 ` [PATCH 44/62] mtd: irq: Remove IRQF_DISABLED Yong Zhang
2011-09-09  8:03   ` Wolfram Sang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).