]> git.karo-electronics.de Git - karo-tx-linux.git/commit
spi: octeon: Remove struct octeon_spi_setup usage
authorAxel Lin <axel.lin@ingics.com>
Wed, 19 Feb 2014 09:30:52 +0000 (17:30 +0800)
committerMark Brown <broonie@linaro.org>
Mon, 3 Mar 2014 03:59:45 +0000 (11:59 +0800)
commit85fe414d3228bdecc52366692c6f70c750f687aa
tree051111959a4184530090f2885aa22bc5a50a0cde
parent0fd73763350fee019cd35d8d4c3c384f6ee493a1
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>
drivers/spi/spi-octeon.c