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)
committerStephane Desneux <stephane.desneux@open.eurogiciel.org>
Wed, 4 Feb 2015 10:13:36 +0000 (11:13 +0100)
commit1526f3358841f8430ad010e48ce697b716ac6581
treeafc0730f9863aff98cc7232b398f7c21bfedaa27
parentc199fee4e1239fd7f74eb6388d6e6fcf7147ce92
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