Skip to content

spidev: A few cleanups

Andy Shevchenko linux-spi lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3spidev: Decrease indentation level in spidev_ioctl() SPI_IOC_RD_MODE*drivers/spi/spidev.c+6 -81 reply
2/3spidev: Switch to use spi_get_csgpiod()drivers/spi/spidev.c+2 -41 reply
3/3spidev: Simplify SPI_IOC_RD_MODE* cases in spidev_ioctl()drivers/spi/spidev.c+3 -51 reply

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchLukas WunnerAlexander Sverdlin
1/3R-b
2/3R-b
3/3R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH v1 0/3] spidev: A few cleanups

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(-)
Signature · 1 line
2.40.0.1.gaa8946217a0b