diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2019-04-20 13:05:59 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-05-02 10:37:59 +0900 |
commit | 1dfbf334f12361ebe6269c5918328b755ee960c7 (patch) | |
tree | 618248d5bb12a03322895255cb2dccc1f29bf153 /include | |
parent | 2a168e10d6db7b77190c55d994e42fc5a58fc8e5 (diff) |
spi: ep93xx: Convert to use CS GPIO descriptors
This converts the EP93xx SPI master driver to use GPIO
descriptors for chip select handling.
EP93xx was using platform data to pass in GPIO lines,
by converting all board files to use GPIO descriptor
tables the core will look up the GPIO lines from the
SPI device in the same manner as for device tree.
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/platform_data/spi-ep93xx.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/linux/platform_data/spi-ep93xx.h b/include/linux/platform_data/spi-ep93xx.h index eb16c6739ac2..b439f2a896e0 100644 --- a/include/linux/platform_data/spi-ep93xx.h +++ b/include/linux/platform_data/spi-ep93xx.h @@ -6,13 +6,9 @@ struct spi_device; /** * struct ep93xx_spi_info - EP93xx specific SPI descriptor - * @chipselect: array of gpio numbers to use as chip selects - * @num_chipselect: ARRAY_SIZE(chipselect) * @use_dma: use DMA for the transfers */ struct ep93xx_spi_info { - int *chipselect; - int num_chipselect; bool use_dma; }; |