commit | c060014063d552c95129279b73c9cc77e69981fe | [log] [tgz] |
---|---|---|
author | Grygorii Strashko <grygorii.strashko@ti.com> | Fri Aug 01 19:40:33 2014 +0300 |
committer | Mark Brown <broonie@linaro.org> | Fri Aug 01 19:20:52 2014 +0100 |
tree | 7ffdced08fe7ff2e5dab161769131f1f7471bbdd | |
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>