diff options
author | Andy Shevchenko <[email protected]> | 2024-09-02 13:28:26 +0300 |
---|---|---|
committer | Mark Brown <[email protected]> | 2024-09-02 12:56:30 +0100 |
commit | 7f9f8c5939b1d729470a15480a4ffb0512d39d3a (patch) | |
tree | fd7523b9556450b7060532ae2d5194f4a3a1d3e8 | |
parent | d814fd0f046c2a6b1a919e1a529550bdfe9f9f9b (diff) |
spi: ppc4xx: Revert "handle irq_of_parse_and_map() errors"
The commit had been applied twice as
0f245463b01e ("spi: ppc4xx: handle irq_of_parse_and_map() errors")
and
f1011ba20b83 ("spi: ppc4xx: handle irq_of_parse_and_map() errors")
This reverts commit f1011ba20b83da3ee70dcb4a6d9d282a718916fa.
Fixes: f1011ba20b83 ("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]>
-rw-r--r-- | drivers/spi/spi-ppc4xx.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/spi/spi-ppc4xx.c b/drivers/spi/spi-ppc4xx.c index 36722fa6c8bf..2c43b498432f 100644 --- a/drivers/spi/spi-ppc4xx.c +++ b/drivers/spi/spi-ppc4xx.c @@ -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) { |