[PATCH v1 0/2] spi: More refacroings after multi-CS support

From: Andy Shevchenko
Date: Mon Apr 15 2024 - 15:33:53 EST


A couple of additional refactorings on top of the multi-CS support.
One is to make sure that the comment and the code are not disrupted
if additional changes come in the future and second one is f or the
sake of deduplication. In both cases it also makes indentation level
smaller in the affected pieces of the code.

No functional changes intended.

Andy Shevchenko (2):
spi: Extract spi_toggle_csgpiod() helper for better maintanance
spi: Introduce spi_for_each_valid_cs() in order of deduplication

drivers/spi/spi.c | 63 +++++++++++++++++++++++++----------------------
1 file changed, 33 insertions(+), 30 deletions(-)

--
2.43.0.rc1.1336.g36b5255a03ac