Patchwork net: p54spi: remove deprecated IRQF_DISABLED

login
register
mail settings
Submitter Michael Opdenacker
Date Oct. 6, 2013, 5:04 a.m.
Message ID <1381035846-10095-1-git-send-email-michael.opdenacker@free-electrons.com>
Download mbox | patch
Permalink /patch/280831/
State Not Applicable
Delegated to: David Miller
Headers show

Comments

Michael Opdenacker - Oct. 6, 2013, 5:04 a.m.
This patch proposes to remove the use of the IRQF_DISABLED flag

It's a NOOP since 2.6.35 and it will be removed one day.

Signed-off-by: Michael Opdenacker <michael.opdenacker@free-electrons.com>
---
 drivers/net/wireless/p54/p54spi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/drivers/net/wireless/p54/p54spi.c b/drivers/net/wireless/p54/p54spi.c
index 7fc46f2..de15171 100644
--- a/drivers/net/wireless/p54/p54spi.c
+++ b/drivers/net/wireless/p54/p54spi.c
@@ -636,7 +636,7 @@  static int p54spi_probe(struct spi_device *spi)
 	gpio_direction_input(p54spi_gpio_irq);
 
 	ret = request_irq(gpio_to_irq(p54spi_gpio_irq),
-			  p54spi_interrupt, IRQF_DISABLED, "p54spi",
+			  p54spi_interrupt, 0, "p54spi",
 			  priv->spi);
 	if (ret < 0) {
 		dev_err(&priv->spi->dev, "request_irq() failed");