diff options
| author | 2023-08-24 19:22:08 +0300 | |
|---|---|---|
| committer | 2023-09-11 01:31:50 +0100 | |
| commit | 193a7f9e1a78f69c913bb26ca4500f6edad1e8ff (patch) | |
| tree | d327d0d0d7ab32f6edc6111961b3e57a4295ef1d /rust/kernel/ssh:/git@git.zx2c4.com/git: | |
| parent | spidev: Decrease indentation level in spidev_ioctl() SPI_IOC_RD_MODE* (diff) | |
spidev: Switch to use spi_get_csgpiod()
spidev_ioctl() checks if there is an SPI chip select is driven by GPIO.
Instead of current code, we can call spi_get_csgpiod().
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Alexander Sverdlin <alexander.sverdlin@siemens.com>
Link: https://lore.kernel.org/r/20230824162209.2890440-3-andriy.shevchenko@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'rust/kernel/ssh:/git@git.zx2c4.com/git:')
0 files changed, 0 insertions, 0 deletions
