diff options
author | Andy Shevchenko <[email protected]> | 2023-08-24 19:22:08 +0300 |
---|---|---|
committer | Mark Brown <[email protected]> | 2023-09-11 01:31:50 +0100 |
commit | 193a7f9e1a78f69c913bb26ca4500f6edad1e8ff (patch) | |
tree | d327d0d0d7ab32f6edc6111961b3e57a4295ef1d /tools/perf/util/trace-event-scripting.c | |
parent | 12c8d7a76cd6100a2f35b9ef4b87d11128b9105b (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 <[email protected]>
Reviewed-by: Alexander Sverdlin <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions