Skip to content

Commit

Permalink
at86rf230: remove irq_type in request_irq
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Alexander Aring authored and David S. Miller committed Apr 26, 2014
1 parent 0dbfc8f commit 8eba0ee
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions drivers/net/ieee802154/at86rf230.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 8eba0ee

Please sign in to comment.