spi: ppc4xx: Revert "handle irq_of_parse_and_map() errors"
The commit had been applied twice as0f245463b0
("spi: ppc4xx: handle irq_of_parse_and_map() errors") andf1011ba20b
("spi: ppc4xx: handle irq_of_parse_and_map() errors") This reverts commitf1011ba20b
. Fixes:f1011ba20b
("spi: ppc4xx: handle irq_of_parse_and_map() errors") Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Link: https://patch.msgid.link/20240902102853.2476165-1-andriy.shevchenko@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
d814fd0f04
commit
7f9f8c5939
@ -415,9 +415,6 @@ static int spi_ppc4xx_of_probe(struct platform_device *op)
|
||||
goto free_host;
|
||||
hw->irqnum = ret;
|
||||
|
||||
if (hw->irqnum <= 0)
|
||||
goto free_host;
|
||||
|
||||
ret = request_irq(hw->irqnum, spi_ppc4xx_int,
|
||||
0, "spi_ppc4xx_of", (void *)hw);
|
||||
if (ret) {
|
||||
|
Loading…
Reference in New Issue
Block a user