diff mbox series

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

Message ID 20240819195029.2388397-1-andriy.shevchenko@linux.intel.com
State New
Headers show
Series [v1,1/1] Revert "spi: ppc4xx: handle irq_of_parse_and_map() errors" | expand

Commit Message

Andy Shevchenko Aug. 19, 2024, 7:50 p.m. UTC
This reverts commit f1011ba20b83da3ee70dcb4a6d9d282a718916fa.

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

Revert the latter one.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
 drivers/spi/spi-ppc4xx.c | 3 ---
 1 file changed, 3 deletions(-)

Comments

Andy Shevchenko Aug. 20, 2024, 4:44 p.m. UTC | #1
On Tue, Aug 20, 2024 at 12:20:30PM +0100, Mark Brown wrote:
> On Mon, Aug 19, 2024 at 10:50:29PM +0300, Andy Shevchenko wrote:
> > This reverts commit f1011ba20b83da3ee70dcb4a6d9d282a718916fa.
> 
> Please include human readable descriptions of things like commits and
> issues being discussed in e-mail in your mails, this makes them much
> easier for humans to read especially when they have no internet access.
> I do frequently catch up on my mail on flights or while otherwise
> travelling so this is even more pressing for me than just being about
> making things a bit easier to read.

It has the human-readable text just below that line.

> Please submit patches using subject lines reflecting the style for the
> subsystem, this makes it easier for people to identify relevant patches.
> Look at what existing commits in the area you're changing are doing and
> make sure your subject lines visually resemble what they're doing.
> There's no need to resubmit to fix this alone.

This is a pure and clean revert, not sure if we need to hide that fact.

P.S.
You can just revert yourself the second commit if it makes it easier to
perform, I'm fine with either.
Mark Brown Aug. 20, 2024, 5:11 p.m. UTC | #2
On Tue, Aug 20, 2024 at 07:44:09PM +0300, Andy Shevchenko wrote:
> On Tue, Aug 20, 2024 at 12:20:30PM +0100, Mark Brown wrote:

> > Please submit patches using subject lines reflecting the style for the
> > subsystem, this makes it easier for people to identify relevant patches.
> > Look at what existing commits in the area you're changing are doing and
> > make sure your subject lines visually resemble what they're doing.
> > There's no need to resubmit to fix this alone.

> This is a pure and clean revert, not sure if we need to hide that fact.

This is not an issue with the word "revert", it is an issue with the
formatting of the subject line.
Andy Shevchenko Aug. 23, 2024, 3:09 p.m. UTC | #3
On Tue, Aug 20, 2024 at 06:11:26PM +0100, Mark Brown wrote:
> On Tue, Aug 20, 2024 at 07:44:09PM +0300, Andy Shevchenko wrote:
> > On Tue, Aug 20, 2024 at 12:20:30PM +0100, Mark Brown wrote:
> 
> > > Please submit patches using subject lines reflecting the style for the
> > > subsystem, this makes it easier for people to identify relevant patches.
> > > Look at what existing commits in the area you're changing are doing and
> > > make sure your subject lines visually resemble what they're doing.
> > > There's no need to resubmit to fix this alone.
> 
> > This is a pure and clean revert, not sure if we need to hide that fact.
> 
> This is not an issue with the word "revert", it is an issue with the
> formatting of the subject line.

So, should I send a v2?
diff mbox series

Patch

diff --git a/drivers/spi/spi-ppc4xx.c b/drivers/spi/spi-ppc4xx.c
index 6071f83dd9c8..8f6309f32de0 100644
--- a/drivers/spi/spi-ppc4xx.c
+++ b/drivers/spi/spi-ppc4xx.c
@@ -416,9 +416,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) {