summaryrefslogtreecommitdiffstats
path: root/drivers/ide/cy82c693.c
diff options
context:
space:
mode:
authorAxel Lin2014-01-08 09:00:04 +0100
committerMark Brown2014-01-09 18:58:28 +0100
commite826a7ff69b285ea295144303653c01f781ea9dc (patch)
tree8e0048fbe4467e23787cdc76b80ce04a9f9b5dcc /drivers/ide/cy82c693.c
parentLinux 3.13-rc1 (diff)
downloadkernel-qcow2-linux-e826a7ff69b285ea295144303653c01f781ea9dc.tar.gz
kernel-qcow2-linux-e826a7ff69b285ea295144303653c01f781ea9dc.tar.xz
kernel-qcow2-linux-e826a7ff69b285ea295144303653c01f781ea9dc.zip
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 <axel.lin@ingics.com> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'drivers/ide/cy82c693.c')
0 files changed, 0 insertions, 0 deletions