[PATCH v1 0/3] spidev: A few cleanups
From: Andy Shevchenko
Date: Thu Aug 24 2023 - 12:24:06 EST
A few cleanups to the spidev.c to utilize existing APIs and make it
use less amount of Lines of Code. No functional change intended.
Andy Shevchenko (3):
spidev: Decrease indentation level in spidev_ioctl() SPI_IOC_RD_MODE*
spidev: Switch to use spi_get_csgpiod()
spidev: Simplify SPI_IOC_RD_MODE* cases in spidev_ioctl()
drivers/spi/spidev.c | 24 +++++++++---------------
1 file changed, 9 insertions(+), 15 deletions(-)
--
2.40.0.1.gaa8946217a0b