LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH] mtd: hisilicon: remove deprecated IRQF_DISABLED
@ 2015-03-27  1:39 Michael Opdenacker
  2015-03-31  3:04 ` Brian Norris
  0 siblings, 1 reply; 2+ messages in thread
From: Michael Opdenacker @ 2015-03-27  1:39 UTC (permalink / raw)
  To: dwmw2, computersforpeace
  Cc: wangzhou1, dan.carpenter, linux-mtd, linux-kernel, 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 <michael.opdenacker@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


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

* Re: [PATCH] mtd: hisilicon: remove deprecated IRQF_DISABLED
  2015-03-27  1:39 [PATCH] mtd: hisilicon: remove deprecated IRQF_DISABLED Michael Opdenacker
@ 2015-03-31  3:04 ` Brian Norris
  0 siblings, 0 replies; 2+ messages in thread
From: Brian Norris @ 2015-03-31  3:04 UTC (permalink / raw)
  To: Michael Opdenacker
  Cc: dwmw2, wangzhou1, dan.carpenter, linux-mtd, linux-kernel,
	Valentin Rothberg, Ingo Molnar

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@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@gmail.com>
Date:   Thu Mar 5 15:23:08 2015 +0100

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

Thanks,
Brian

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

end of thread, other threads:[~2015-03-31  3:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-27  1:39 [PATCH] mtd: hisilicon: remove deprecated IRQF_DISABLED Michael Opdenacker
2015-03-31  3:04 ` Brian Norris

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).