[PATCH] mtd: hisilicon: remove deprecated IRQF_DISABLED

Brian Norris computersforpeace at gmail.com
Mon Mar 30 20:04:25 PDT 2015


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 <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");

linux-next has this:

commit d8bf368d0631d4bc2612d8bf2e4e8e74e620d0cc
Author: Valentin Rothberg <valentinrothberg at gmail.com>
Date:   Thu Mar 5 15:23:08 2015 +0100

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

Thanks,
Brian



More information about the linux-mtd mailing list