Skip to content

spi: More refacroings after multi-CS support

Andy Shevchenko linux-spi lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2spi: Extract spi_toggle_csgpiod() helper for better maintanancedrivers/spi/spi.c+25 -240 replies
2/2spi: Introduce spi_for_each_valid_cs() in order of deduplicationdrivers/spi/spi.c+9 -70 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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(-)
Signature · 1 line
2.43.0.rc1.1336.g36b5255a03ac