diff options
author | Axel Lin <axel.lin@ingics.com> | 2014-03-02 23:01:50 +0800 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-03-03 10:37:46 +0900 |
commit | e428a420078eac26039b53af464355332809be52 (patch) | |
tree | 9ff7487ef2ff6d4209e6d27ee5e024af0ecab922 /net/unix/af_unix.c | |
parent | 80d68ca5a52176a140e1daa527d0b698feb69c83 (diff) |
spi: sh-hspi: Remove duplicate code to set default transfer speed
In the implementation of __spi_validate(), spi core will use spi device's max
speed as default transfer speed if it is not set for this transfer.
So we can remove the same logic in hspi_hw_setup().
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>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions