diff options
author | Axel Lin <axel.lin@ingics.com> | 2014-03-02 23:24:18 +0800 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-03-13 09:52:38 +0000 |
commit | bed890b4310b1d3b33c88fb83e216a8182e8bbad (patch) | |
tree | c626905d85c868d1f6cd81bf4c6e20e1f912b105 /net/unix/af_unix.c | |
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>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions