diff mbox series

[v2,1/1] spi: ppc4xx: Revert "handle irq_of_parse_and_map() errors"

Message ID 20240902102853.2476165-1-andriy.shevchenko@linux.intel.com
State Accepted
Commit 7f9f8c5939b1d729470a15480a4ffb0512d39d3a
Headers show
Series [v2,1/1] spi: ppc4xx: Revert "handle irq_of_parse_and_map() errors" | expand

Commit Message

Andy Shevchenko Sept. 2, 2024, 10:28 a.m. UTC
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 <andriy.shevchenko@linux.intel.com>
---
v2: reworded Subject and the commit message (Mark)
 drivers/spi/spi-ppc4xx.c | 3 ---
 1 file changed, 3 deletions(-)

Comments

Mark Brown Sept. 2, 2024, 6:17 p.m. UTC | #1
On Mon, 02 Sep 2024 13:28:26 +0300, Andy Shevchenko wrote:
> 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.
> 
> [...]

Applied to

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next

Thanks!

[1/1] spi: ppc4xx: Revert "handle irq_of_parse_and_map() errors"
      commit: 7f9f8c5939b1d729470a15480a4ffb0512d39d3a

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark
diff mbox series

Patch

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) {