diff options
author | Shubhrajyoti D <shubhrajyoti@ti.com> | 2012-09-11 12:13:20 +0530 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-09-12 21:52:30 +0800 |
commit | d7b4394e780b02511c8a7a499380cdd56316c770 (patch) | |
tree | de36a029f4881d4f1d075bc0580d552cc4074a34 /arch/m32r | |
parent | ac2cb30b4792340d932545f41a8335da2632027d (diff) | |
download | linux-3.10-d7b4394e780b02511c8a7a499380cdd56316c770.tar.gz linux-3.10-d7b4394e780b02511c8a7a499380cdd56316c770.tar.bz2 linux-3.10-d7b4394e780b02511c8a7a499380cdd56316c770.zip |
spi: omap2-mcspi: Cleanup the omap2_mcspi_txrx_dma function
Currently in omap2_mcspi_txrx_dma the tx and the rx support is
interleaved. Make the rx related code in omap2_mcspi_rx_dma
and the tx related code omap2_mcspi_tx_dma and call the functions.
While at it remove the braces in the if statements which has only
one line.
Also fix ["foo * bar" to "foo *bar"] warn for the rx and tx variables.
Only a cleanup no functional change.
Signed-off-by: Shubhrajyoti D <shubhrajyoti@ti.com>
Tested-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'arch/m32r')
0 files changed, 0 insertions, 0 deletions