commit | 00cce74d081e86ee0660cbe41699cbc523a55605 | [log] [tgz] |
---|---|---|
author | Axel Lin <axel.lin@ingics.com> | Mon Feb 24 23:07:36 2014 +0800 |
committer | Mark Brown <broonie@linaro.org> | Wed Feb 26 08:54:54 2014 +0900 |
tree | 4a8faf69010a3ea2b15c483b33f524d065dae801 | |
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>