[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240415193340.1279360-1-andriy.shevchenko@linux.intel.com>
Date: Mon, 15 Apr 2024 22:31:18 +0300
From: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
To: Mark Brown <broonie@...nel.org>,
linux-spi@...r.kernel.org,
linux-kernel@...r.kernel.org
Cc: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
Subject: [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(-)
--
2.43.0.rc1.1336.g36b5255a03ac
Powered by blists - more mailing lists