linux-spi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] spi: mt65xx: Convert to platform remove callback returning void
@ 2023-03-09  9:47 Uwe Kleine-König
  2023-03-09  9:47 ` [PATCH 1/3] spi: mt65xx: Properly handle failures in .remove() Uwe Kleine-König
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Uwe Kleine-König @ 2023-03-09  9:47 UTC (permalink / raw)
  To: Mark Brown, Matthias Brugger
  Cc: AngeloGioacchino Del Regno, linux-spi, kernel, linux-arm-kernel,
	linux-mediatek

Hello,

this series converts the spi-mt65xx driver to .remove_new(). While the
preparing patch that gets rid of an early error return is in many cases
a bug fix, it's not tragic here, as the early return only skips steps
that are not necessary after resume failed. Still rework the code flow
to prepare for conversion to .remove_new(). The 2nd patch actually
converts the driver. The third is a small nitpick cleanup the I noticed
while working on the driver.

Best regards
Uwe

Uwe Kleine-König (3):
  spi: mt65xx: Properly handle failures in .remove()
  spi: mt65xx: Convert to platform remove callback returning void
  spi: mt65xx: Don't disguise a "return 0" as "return ret"

 drivers/spi/spi-mt65xx.c | 29 ++++++++++++++++-------------
 1 file changed, 16 insertions(+), 13 deletions(-)


base-commit: fe15c26ee26efa11741a7b632e9f23b01aca4cc6
-- 
2.39.1


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2023-05-30 17:40 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-09  9:47 [PATCH 0/3] spi: mt65xx: Convert to platform remove callback returning void Uwe Kleine-König
2023-03-09  9:47 ` [PATCH 1/3] spi: mt65xx: Properly handle failures in .remove() Uwe Kleine-König
2023-03-09 11:00   ` AngeloGioacchino Del Regno
2023-03-09  9:47 ` [PATCH 2/3] spi: mt65xx: Convert to platform remove callback returning void Uwe Kleine-König
2023-03-09 11:01   ` AngeloGioacchino Del Regno
2023-03-09  9:47 ` [PATCH 3/3] spi: mt65xx: Don't disguise a "return 0" as "return ret" Uwe Kleine-König
2023-03-09 11:01   ` AngeloGioacchino Del Regno
2023-05-30 17:40 ` [PATCH 0/3] spi: mt65xx: Convert to platform remove callback returning void Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).