From: Geert Uytterhoeven Date: Fri, 20 Jun 2014 10:16:19 +0000 (+0200) Subject: spi: sh-msiof: Refactor sh_msiof_transfer_one() X-Git-Tag: omap-for-v3.17/fixes-against-rc2~157^2^3~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0312d59130693adad85c2acfbc0b92a669930a41;p=pandora-kernel.git spi: sh-msiof: Refactor sh_msiof_transfer_one() - Move buffer pointer and length setup to the top, - Make unsigned values unsigned, - Loop over words and increment pointers instead of recalculating them, which allows to kill bytes_done. Signed-off-by: Geert Uytterhoeven Signed-off-by: Mark Brown --- Reading git-diff-tree failed