diff options
author | Axel Lin <axel.lin@ingics.com> | 2014-02-24 15:07:36 (GMT) |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-02-25 23:54:54 (GMT) |
commit | 00cce74d081e86ee0660cbe41699cbc523a55605 (patch) | |
tree | 4a8faf69010a3ea2b15c483b33f524d065dae801 /drivers/spi/spi-omap-uwire.c | |
parent | 83f091440db9ba3f739522cee0c627ecfe1cc8ef (diff) | |
download | linux-00cce74d081e86ee0660cbe41699cbc523a55605.tar.xz |
spi: qup: Get rid of using struct spi_qup_device
Current code uses struct spi_qup_device to store spi->mode and spi->chip_select
settings. We can get these settings in spi_qup_transfer_one and spi_qup_set_cs
without using struct spi_qup_device. Refactor the code a bit to remove
spi_qup_setup(), spi_qup_cleanup(), and struct spi_qup_device.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Tested-by: Ivan T. Ivanov <iivanov@mm-sol.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'drivers/spi/spi-omap-uwire.c')
0 files changed, 0 insertions, 0 deletions