[PATCH v2 0/6] spi: microchip-core: Code improvements

From: Andy Shevchenko

Date: Wed Nov 26 2025 - 02:57:11 EST


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

Changelog v2:
- dropped device property agnostic API conversion change (Mark)

Andy Shevchenko (6):
spi: microchip-core: use min() instead of min_t()
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 | 96 +++++++++++-----------------
1 file changed, 38 insertions(+), 58 deletions(-)

--
2.50.1