summaryrefslogtreecommitdiff
path: root/drivers/spi/spi-clps711x.c
diff options
context:
space:
mode:
authorRicardo Ribalda Delgado <ricardo.ribalda@gmail.com>2015-01-28 13:23:42 +0100
committerMark Brown <broonie@kernel.org>2015-01-28 19:42:42 +0000
commita87cbca0acef0b1f57e4b216f1965468ee521cd3 (patch)
treea3a9668ab34f39cb78ed512fcebed228df904085 /drivers/spi/spi-clps711x.c
parent899929babac9d85ddd3f86b813a8b8654ab93523 (diff)
downloadlinux-next-a87cbca0acef0b1f57e4b216f1965468ee521cd3.tar.gz
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 'drivers/spi/spi-clps711x.c')
0 files changed, 0 insertions, 0 deletions