mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-30 08:04:13 +08:00
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>
This commit is contained in:
parent
0dbfc8fd32
commit
8eba0eefae
@ -1190,8 +1190,7 @@ static int at86rf230_probe(struct spi_device *spi)
|
|||||||
if (rc)
|
if (rc)
|
||||||
goto err_hw_init;
|
goto err_hw_init;
|
||||||
|
|
||||||
rc = request_irq(spi->irq, irq_handler,
|
rc = request_irq(spi->irq, irq_handler, IRQF_SHARED,
|
||||||
IRQF_SHARED | irq_type,
|
|
||||||
dev_name(&spi->dev), lp);
|
dev_name(&spi->dev), lp);
|
||||||
if (rc)
|
if (rc)
|
||||||
goto err_hw_init;
|
goto err_hw_init;
|
||||||
|
Loading…
Reference in New Issue
Block a user