commit | bed890b4310b1d3b33c88fb83e216a8182e8bbad | [log] [tgz] |
---|---|---|
author | Axel Lin <axel.lin@ingics.com> | Sun Mar 02 23:24:18 2014 +0800 |
committer | Mark Brown <broonie@linaro.org> | Thu Mar 13 09:52:38 2014 +0000 |
tree | c626905d85c868d1f6cd81bf4c6e20e1f912b105 | |
parent | fcba212de9bdf1016d981c355df29ab169da8eae [diff] |
spi: clps711x: Remove duplicate code to set default bits_per_word and max speed 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 logic in spi_clps711x_setup_xfer() and spi_clps711x_transfer_one(). Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Mark Brown <broonie@linaro.org>