Skip to content

Commit 7f9f8c5

Browse files
andy-shevbroonie
authored andcommitted
spi: ppc4xx: Revert "handle irq_of_parse_and_map() errors"
The commit had been applied twice as 0f24546 ("spi: ppc4xx: handle irq_of_parse_and_map() errors") and f1011ba ("spi: ppc4xx: handle irq_of_parse_and_map() errors") This reverts commit f1011ba. Fixes: f1011ba ("spi: ppc4xx: handle irq_of_parse_and_map() errors") Signed-off-by: Andy Shevchenko <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent d814fd0 commit 7f9f8c5

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

drivers/spi/spi-ppc4xx.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -415,9 +415,6 @@ static int spi_ppc4xx_of_probe(struct platform_device *op)
415415
goto free_host;
416416
hw->irqnum = ret;
417417

418-
if (hw->irqnum <= 0)
419-
goto free_host;
420-
421418
ret = request_irq(hw->irqnum, spi_ppc4xx_int,
422419
0, "spi_ppc4xx_of", (void *)hw);
423420
if (ret) {

0 commit comments

Comments
 (0)