From: Alexander Aring Date: Thu, 24 Apr 2014 17:09:07 +0000 (+0200) Subject: at86rf230: remove irq_type in request_irq X-Git-Tag: v4.14-rc1~7383^2~321^2~11 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8eba0eefae2495396206799a208c5270e203b5c6;p=platform%2Fkernel%2Flinux-rpi.git at86rf230: remove irq_type in request_irq We don't need to set these values at request_irq. The interrupt line is already configured to same value like irq_get_trigger_type returned. Signed-off-by: Alexander Aring Signed-off-by: David S. Miller --- diff --git a/drivers/net/ieee802154/at86rf230.c b/drivers/net/ieee802154/at86rf230.c index 17b9c9a..e1d3af6 100644 --- a/drivers/net/ieee802154/at86rf230.c +++ b/drivers/net/ieee802154/at86rf230.c @@ -1190,8 +1190,7 @@ static int at86rf230_probe(struct spi_device *spi) if (rc) goto err_hw_init; - rc = request_irq(spi->irq, irq_handler, - IRQF_SHARED | irq_type, + rc = request_irq(spi->irq, irq_handler, IRQF_SHARED, dev_name(&spi->dev), lp); if (rc) goto err_hw_init;