There are a few duplicated code pieces, inconsitent types and comments regarding to Chip Select pins. Refactor and clarify that. Andy Shevchenko (3): spi: Exctract spi_set_all_cs_unused() helper spi: Exctract spi_dev_check_cs() helper spi: Fix multiple issues with Chip Select variables and comments drivers/spi/spi.c | 173 +++++++++++++++++----------------------- include/linux/spi/spi.h | 15 ++-- 2 files changed, 82 insertions(+), 106 deletions(-) -- 2.43.0.rc1.1.gbec44491f096