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)
committerMark Brown <broonie@linaro.org>
Mon, 3 Mar 2014 01:46:42 +0000 (10:46 +0900)
commitb14158603288b9d898716b41f2f0acb7d49dad2c
tree348eb676871eefc6d4c7d48c5c68482baa0fa9c4
parent1bd6363bc0c69ff6120b53daa35cf9459c3628ad
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>
drivers/spi/spi-sh-msiof.c