spi: sh-msiof: Kill sh_msiof_spi_bits and sh_msiof_spi_hz functions
authorAxel Lin <axel.lin@ingics.com>
Sun, 2 Mar 2014 14:30:32 +0000 (22:30 +0800)
committerSimon Horman <horms@verge.net.au>
Fri, 5 Dec 2014 00:21:49 +0000 (09:21 +0900)
commit9f2f759901b011defd2aa6e68692c3203b6709b2
tree4df0f06fcc1f7e5976bbe96854aa0424d5ee0ed1
parent0ae2f122e103be4cf1d4c63e35d1e715253bb98f
spi: sh-msiof: Kill sh_msiof_spi_bits and sh_msiof_spi_hz functions

In the implementation of __spi_validate(), spi core will set transfer
bits_per_word and max speed as spi device default if it is not set for
this transfer. So we can remove the same implementation in this driver.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Mark Brown <broonie@linaro.org>
(cherry picked from commit b14158603288b9d898716b41f2f0acb7d49dad2c)
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
drivers/spi/spi-sh-msiof.c