at86rf230: remove irq_type in request_irq
authorAlexander Aring <alex.aring@gmail.com>
Thu, 24 Apr 2014 17:09:07 +0000 (19:09 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sat, 26 Apr 2014 16:20:32 +0000 (12:20 -0400)
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 <alex.aring@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ieee802154/at86rf230.c

index 17b9c9aea9bef7dbb49f04fc2f72ac5db8657626..e1d3af60c53bd75d8dea061dfe378669567cf586 100644 (file)
@@ -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;