From: Ricardo Ribalda Delgado Date: Wed, 28 Jan 2015 12:23:42 +0000 (+0100) Subject: spi/xilinx: Code cleanup X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~168^2^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a87cbca0acef0b1f57e4b216f1965468ee521cd3;p=pandora-kernel.git 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 Signed-off-by: Mark Brown --- Reading git-diff-tree failed