spi: omap2-mcspi: Convert to let spi core validate transfer speed
authorAxel Lin <axel.lin@ingics.com>
Tue, 18 Feb 2014 14:02:47 +0000 (22:02 +0800)
committerMark Brown <broonie@linaro.org>
Wed, 19 Feb 2014 04:38:31 +0000 (13:38 +0900)
commitaca0924b4819e813bdae2c595bf736ec2b593585
tree3f01ba3aead20b8a06cf544b929e9caff983aa49
parentcd60080fd6200bd2e5ca9bf5135d32c06a8e6f3b
spi: omap2-mcspi: Convert to let spi core validate transfer speed

Set master->max_speed_hz and master->min_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-omap2-mcspi.c