Re: [PATCH] mtd: hisilicon: remove deprecated IRQF_DISABLED

2015-03-30 Thread Brian Norris
On Thu, Mar 26, 2015 at 06:39:53PM -0700, Michael Opdenacker wrote:
> 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 
> ---
>  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");

linux-next has this:

commit d8bf368d0631d4bc2612d8bf2e4e8e74e620d0cc
Author: Valentin Rothberg 
Date:   Thu Mar 5 15:23:08 2015 +0100

genirq: Remove the deprecated 'IRQF_DISABLED' request_irq() flag entirely

Thanks,
Brian
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH] mtd: hisilicon: remove deprecated IRQF_DISABLED

2015-03-26 Thread Michael Opdenacker
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 
---
 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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/