Skip to content

Commit 768ba49

Browse files
wangxiaoningnxpbroonie
authored andcommitted
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>
1 parent 16d7918 commit 768ba49

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

drivers/spi/spi-fsl-lpspi.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,8 +119,6 @@ struct fsl_lpspi_data {
119119
bool usedma;
120120
struct completion dma_rx_completion;
121121
struct completion dma_tx_completion;
122-
123-
int chipselect[];
124122
};
125123

126124
static const struct of_device_id fsl_lpspi_dt_ids[] = {

0 commit comments

Comments
 (0)