[PATCH] mtd: hisilicon: remove deprecated IRQF_DISABLED

Michael Opdenacker michael.opdenacker at free-electrons.com
Thu Mar 26 18:39:53 PDT 2015


This removes the use of the IRQF_DISABLED flag
from drivers/mtd/nand/hisi504_nand.c

It's a NOOP since 2.6.35.

Signed-off-by: Michael Opdenacker <michael.opdenacker at free-electrons.com>
---
 drivers/mtd/nand/hisi504_nand.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mtd/nand/hisi504_nand.c b/drivers/mtd/nand/hisi504_nand.c
index 289ad3ac3e80..e39482441430 100644
--- a/drivers/mtd/nand/hisi504_nand.c
+++ b/drivers/mtd/nand/hisi504_nand.c
@@ -758,7 +758,7 @@ static int hisi_nfc_probe(struct platform_device *pdev)
 
 	hisi_nfc_host_init(host);
 
-	ret = devm_request_irq(dev, irq, hinfc_irq_handle, IRQF_DISABLED,
+	ret = devm_request_irq(dev, irq, hinfc_irq_handle, 0,
 				"nandc", host);
 	if (ret) {
 		dev_err(dev, "failed to request IRQ\n");
-- 
2.1.0




More information about the linux-mtd mailing list