diff options
author | Clark Wang <xiaoning.wang@nxp.com> | 2020-07-27 06:14:47 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-07-29 16:40:53 +0300 |
commit | 768ba4909a1ee4c2be4437c763c7095cc58c0362 (patch) | |
tree | 5cf3f342a8c2225c65a32c4272fba0f11d7164e5 /drivers/spi | |
parent | 16d791851a8d4f490aca6467196b47178ea4d779 (diff) | |
download | linux-768ba4909a1ee4c2be4437c763c7095cc58c0362.tar.xz |
spi: lpspi: remove unused fsl_lpspi->chipselect
The cs-gpio is initailized by spi_get_gpio_descs() now. Remove the
chipselect.
Signed-off-by: Clark Wang <xiaoning.wang@nxp.com>
Link: https://lore.kernel.org/r/20200727031448.31661-3-xiaoning.wang@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi')
-rw-r--r-- | drivers/spi/spi-fsl-lpspi.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/spi/spi-fsl-lpspi.c b/drivers/spi/spi-fsl-lpspi.c index b0a1bb62f10a..1e426884ac37 100644 --- a/drivers/spi/spi-fsl-lpspi.c +++ b/drivers/spi/spi-fsl-lpspi.c @@ -119,8 +119,6 @@ struct fsl_lpspi_data { bool usedma; struct completion dma_rx_completion; struct completion dma_tx_completion; - - int chipselect[]; }; static const struct of_device_id fsl_lpspi_dt_ids[] = { |