projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
16d7918
)
spi: lpspi: remove unused fsl_lpspi->chipselect
author
Clark Wang
<xiaoning.wang@nxp.com>
Mon, 27 Jul 2020 03:14:47 +0000
(11:14 +0800)
committer
Mark Brown
<broonie@kernel.org>
Wed, 29 Jul 2020 13:40:53 +0000
(14:40 +0100)
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>
drivers/spi/spi-fsl-lpspi.c
patch
|
blob
|
history
diff --git
a/drivers/spi/spi-fsl-lpspi.c
b/drivers/spi/spi-fsl-lpspi.c
index b0a1bb62f10a53e94bd4e4d31cac3b06fd9f87df..1e426884ac374006aeb28811ca0a00e031c6e597 100644
(file)
--- 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[] = {