diff options
author | Alexander Aring <alex.aring@gmail.com> | 2014-04-24 19:09:07 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-04-26 12:20:32 -0400 |
commit | 8eba0eefae2495396206799a208c5270e203b5c6 (patch) | |
tree | 165a45c63fd26936b881eea16d322b33621c1e24 /drivers/net/ieee802154 | |
parent | 0dbfc8fd32f3dbe3069969fd6120ce3c61964c40 (diff) | |
download | talos-op-linux-8eba0eefae2495396206799a208c5270e203b5c6.tar.gz talos-op-linux-8eba0eefae2495396206799a208c5270e203b5c6.zip |
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 <alex.aring@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ieee802154')
-rw-r--r-- | drivers/net/ieee802154/at86rf230.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/ieee802154/at86rf230.c b/drivers/net/ieee802154/at86rf230.c index 17b9c9aea9be..e1d3af60c53b 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; |