public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v1 0/7] spi: microchip-core: Code improvements
@ 2025-11-25 20:15 Andy Shevchenko
  2025-11-25 20:15 ` [PATCH v1 1/7] spi: microchip-core: use min() instead of min_t() Andy Shevchenko
                   ` (6 more replies)
  0 siblings, 7 replies; 17+ messages in thread
From: Andy Shevchenko @ 2025-11-25 20:15 UTC (permalink / raw)
  To: Andy Shevchenko, Prajna Rajendra Kumar, linux-spi, linux-kernel
  Cc: Mark Brown

While reading some other stuff, I noticed that this driver may
be improved. Here is the set of refactoring and cleaning it up.

Andy Shevchenko (7):
  spi: microchip-core: use min() instead of min_t()
  spi: microchip-core: Make use of device properties
  spi: microchip-core: Refactor FIFO read and write handlers
  spi: microchip-core: Replace dead code (-ENOMEM error message)
  spi: microchip-core: Utilise temporary variable for struct device
  spi: microchip-core: Use SPI_MODE_X_MASK
  spi: microchip-core: Remove unneeded PM related macro

 drivers/spi/spi-microchip-core-spi.c | 113 +++++++++++----------------
 1 file changed, 46 insertions(+), 67 deletions(-)

-- 
2.50.1


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

end of thread, other threads:[~2025-11-26 17:45 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-25 20:15 [PATCH v1 0/7] spi: microchip-core: Code improvements Andy Shevchenko
2025-11-25 20:15 ` [PATCH v1 1/7] spi: microchip-core: use min() instead of min_t() Andy Shevchenko
2025-11-25 20:15 ` [PATCH v1 2/7] spi: microchip-core: Make use of device properties Andy Shevchenko
2025-11-25 22:42   ` Mark Brown
2025-11-25 23:00     ` Conor Dooley
2025-11-25 23:19       ` Mark Brown
2025-11-26  6:35         ` Andy Shevchenko
2025-11-26 12:03           ` Mark Brown
2025-11-26 16:27             ` Andy Shevchenko
2025-11-26 17:24               ` Mark Brown
2025-11-26 17:29                 ` Conor Dooley
2025-11-26 17:45                   ` Andy Shevchenko
2025-11-25 20:15 ` [PATCH v1 3/7] spi: microchip-core: Refactor FIFO read and write handlers Andy Shevchenko
2025-11-25 20:15 ` [PATCH v1 4/7] spi: microchip-core: Replace dead code (-ENOMEM error message) Andy Shevchenko
2025-11-25 20:15 ` [PATCH v1 5/7] spi: microchip-core: Utilise temporary variable for struct device Andy Shevchenko
2025-11-25 20:15 ` [PATCH v1 6/7] spi: microchip-core: Use SPI_MODE_X_MASK Andy Shevchenko
2025-11-25 20:15 ` [PATCH v1 7/7] spi: microchip-core: Remove unneeded PM related macro Andy Shevchenko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox