spi: dw: Convert to let spi core validate transfer speed
authorAxel Lin <axel.lin@ingics.com>
Thu, 20 Feb 2014 13:37:56 +0000 (21:37 +0800)
committerMark Brown <broonie@linaro.org>
Mon, 3 Mar 2014 04:35:27 +0000 (12:35 +0800)
commit765ee709eb40abf0c43c6d864ac6f01677b7fd5a
tree7e13278d3a0fbd55588ecf064c146140ff553433
parent794f61a30e115f44821d8c3cf812a969be48a8a5
spi: dw: Convert to let spi core validate transfer speed

Set master->max_speed_hz then spi core will handle checking transfer speed.
So we can remove the same checking in this driver.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/spi/spi-dw.c