diff options
author | Axel Lin <axel.lin@ingics.com> | 2014-02-24 23:07:36 +0800 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-02-26 08:54:54 +0900 |
commit | 00cce74d081e86ee0660cbe41699cbc523a55605 (patch) | |
tree | 4a8faf69010a3ea2b15c483b33f524d065dae801 /arch/openrisc | |
parent | 83f091440db9ba3f739522cee0c627ecfe1cc8ef (diff) |
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 'arch/openrisc')
0 files changed, 0 insertions, 0 deletions