]> git.baikalelectronics.ru Git - kernel.git/commit
spi: davinci: Remove chip select GPIO pdata
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 4 Sep 2018 12:41:28 +0000 (14:41 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 11 Sep 2018 16:37:15 +0000 (17:37 +0100)
commite5dcd4fb32621d8e025b0dc8c13e81af91e5986a
tree71658487158c6c14d2c8ded0b0edce3f8e70f2e6
parentb7b1322df633f024f75758acc2d688132033dc58
spi: davinci: Remove chip select GPIO pdata

The DaVinci SPI can use either:
- Internal chip selects (inside the SPI host)
- External chip selects (using GPIO)
- External chip selects passed in pdata

The last way of passing external chip selects through
platform data is not used in the kernel. Delete it to make
the code simpler when refactoring GPIO.

Cc: Sekhar Nori <nsekhar@ti.com>
Cc: Kevin Hilman <khilman@kernel.org>
Cc: Michele Dionisio <michele.dionisio@gmail.com>
Cc: Frode Isaksen <fisaksen@baylibre.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-davinci.c
include/linux/platform_data/spi-davinci.h