[PATCH v1 0/7] spi: microchip-core: Code improvements

Andy Shevchenko
2025-11-25T20:17:05Z

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