mirror of https://gitee.com/openkylin/linux.git
net: p54spi: remove deprecated IRQF_DISABLED
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> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
fdbdd25c47
commit
a9b1d9ac8c
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue