mfd: tps6594: Use spi_get_chipselect() API to access spi->chip_select
authorAmit Kumar Mahapatra <amit.kumar-mahapatra@amd.com>
Sat, 25 Nov 2023 09:21:28 +0000 (14:51 +0530)
committerLee Jones <lee@kernel.org>
Thu, 7 Dec 2023 13:36:29 +0000 (13:36 +0000)
commit4ae08845db4c1f759b8382bc7527ab8249230e7f
treeb5cff3a85905357d8bb106f2864767100c017632
parentb85ea95d086471afb4ad062012a4d73cd328fa86
mfd: tps6594: Use spi_get_chipselect() API to access spi->chip_select

In preparation for adding multiple CS support for a device, set/get
functions were introduces accessing spi->chip_select in
'commit 303feb3cc06a ("spi: Add APIs in spi core to set/get
spi->chip_select and spi->cs_gpiod")'.
Replace spi->chip_select with spi_get_chipselect() API.

Signed-off-by: Amit Kumar Mahapatra <amit.kumar-mahapatra@amd.com>
Link: https://lore.kernel.org/r/20231125092137.2948-2-amit.kumar-mahapatra@amd.com
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/mfd/tps6594-spi.c