diff options
author | Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com> | 2015-01-28 13:23:42 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-01-28 19:42:42 +0000 |
commit | a87cbca0acef0b1f57e4b216f1965468ee521cd3 (patch) | |
tree | a3a9668ab34f39cb78ed512fcebed228df904085 /arch/nios2 | |
parent | 899929babac9d85ddd3f86b813a8b8654ab93523 (diff) | |
download | linux-a87cbca0acef0b1f57e4b216f1965468ee521cd3.tar.bz2 |
spi/xilinx: Code cleanup
On the transmission loop, check for remaining bytes at the loop
condition.
This way we can handle transmissions of 0 bytes and clean the code.
Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'arch/nios2')
0 files changed, 0 insertions, 0 deletions