commit | 85fe414d3228bdecc52366692c6f70c750f687aa | [log] [tgz] |
---|---|---|
author | Axel Lin <axel.lin@ingics.com> | Wed Feb 19 17:30:52 2014 +0800 |
committer | Mark Brown <broonie@linaro.org> | Mon Mar 03 11:59:45 2014 +0800 |
tree | 051111959a4184530090f2885aa22bc5a50a0cde | |
parent | 0fd73763350fee019cd35d8d4c3c384f6ee493a1 [diff] |
spi: octeon: Remove struct octeon_spi_setup usage Current code uses struct octeon_spi_setup to store max_speed_hz, chip_select and mode settings of current spi device. We can always get the same settings in octeon_spi_do_transfer() by msg->spi. So this patch removes struct octeon_spi_setup and octeon_spi_setup, octeon_spi_cleanup functions. Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Mark Brown <broonie@linaro.org>