diff options
author | Axel Lin <axel.lin@ingics.com> | 2014-01-08 12:00:04 +0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-01-09 21:58:28 +0400 |
commit | e826a7ff69b285ea295144303653c01f781ea9dc (patch) | |
tree | 8e0048fbe4467e23787cdc76b80ce04a9f9b5dcc /include/scsi/sas_ata.h | |
parent | 6ce4eac1f600b34f2f7f58f9cd8f0503d79e42ae (diff) | |
download | linux-e826a7ff69b285ea295144303653c01f781ea9dc.tar.xz |
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 'include/scsi/sas_ata.h')
0 files changed, 0 insertions, 0 deletions