spi: Consistently use BIT for cs_index_mask
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 7 Mar 2024 15:00:59 +0000 (17:00 +0200)
committerMark Brown <broonie@kernel.org>
Thu, 7 Mar 2024 15:07:09 +0000 (15:07 +0000)
commit1209c5566f9b244bd047478b7fc90318c9a310f0
treea0ad226dc431d7338d9f9e9796e9328dd646c17c
parent9086d0f23b7c292f162a828967975e29e97c0680
spi: Consistently use BIT for cs_index_mask

Some of the parts related to the chip select are using BIT() macro
the rest are using plain numbers. Unify all of them to use BIT().

While at it, make the (repetitive) comment clearer when assigning
cs_index_mask during SPI target device enumeration.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://msgid.link/r/20240307150256.3789138-2-andriy.shevchenko@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi.c