Revert "spi: ppc4xx: handle irq_of_parse_and_map() errors"

This reverts commit f1f97a0b4f.
This commit is contained in:
Ksawlii 2024-11-24 00:23:28 +01:00
parent a7d23d19d9
commit 47123ae968

View file

@ -411,9 +411,6 @@ static int spi_ppc4xx_of_probe(struct platform_device *op)
/* Request IRQ */
hw->irqnum = irq_of_parse_and_map(np, 0);
if (hw->irqnum <= 0)
goto free_host;
ret = request_irq(hw->irqnum, spi_ppc4xx_int,
0, "spi_ppc4xx_of", (void *)hw);
if (ret) {