From: Axel Lin Date: Wed, 8 Jan 2014 08:00:04 +0000 (+0800) Subject: spi: oc-tiny: Simplify tiny_spi_txrx_bufs implementation when irq is not used X-Git-Tag: v3.14-rc1~91^2~3^8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e826a7ff69b285ea295144303653c01f781ea9dc;p=pandora-kernel.git spi: oc-tiny: Simplify tiny_spi_txrx_bufs implementation when irq is not used Currently we have similar code for (txp && rxp), (txp && !rxp), (!rxp & txp), and (!txp && !rxp) cases. This patch refactors the code a bit to avoid duplicate similar code. Signed-off-by: Axel Lin Signed-off-by: Mark Brown --- Reading git-diff-tree failed