diff options
author | Grygorii Strashko <grygorii.strashko@ti.com> | 2014-08-01 19:40:33 +0300 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-08-01 19:20:52 +0100 |
commit | c060014063d552c95129279b73c9cc77e69981fe (patch) | |
tree | 7ffdced08fe7ff2e5dab161769131f1f7471bbdd /drivers/spi/spi-cadence.c | |
parent | a88e34ea213e1bdbd9b2dfca1e1e5fa68b9649a0 (diff) |
spi: davinci: use spi_device.cs_gpio to store gpio cs per spi device
Rework Davinci SPI driver to store GPIO CS number in cs_gpio field
of SPI device structure (spi_device) for both DT and non-DT cases.
This will make Davinci SPI driver code simpler and allows to reuse
more SPI core functionality.
Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'drivers/spi/spi-cadence.c')
0 files changed, 0 insertions, 0 deletions