From 47123ae96870334d6b31b12e349ccbebc4d1dad8 Mon Sep 17 00:00:00 2001 From: Ksawlii Date: Sun, 24 Nov 2024 00:23:28 +0100 Subject: [PATCH] Revert "spi: ppc4xx: handle irq_of_parse_and_map() errors" This reverts commit f1f97a0b4fbe9c799da71de65423f6683bd3178a. --- drivers/spi/spi-ppc4xx.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/spi/spi-ppc4xx.c b/drivers/spi/spi-ppc4xx.c index bfcfafda3..4200b12fc 100755 --- a/drivers/spi/spi-ppc4xx.c +++ b/drivers/spi/spi-ppc4xx.c @@ -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) {