Skip to content

Commit

Permalink
spi: lpspi: remove unused fsl_lpspi->chipselect
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Clark Wang authored and Mark Brown committed Jul 29, 2020
1 parent 16d7918 commit 768ba49
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/spi/spi-fsl-lpspi.c
Original file line number Diff line number Diff line change
Expand Up @@ -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[] = {
Expand Down

0 comments on commit 768ba49

Please sign in to comment.