Messages in this thread | | | From | Andy Shevchenko <> | Subject | [PATCH v1 0/3] spidev: A few cleanups | Date | Thu, 24 Aug 2023 19:22:06 +0300 |
| |
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
| |