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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent 16d7918 commit 768ba49

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

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)