spi: omap2-mcspi: Cleanup the omap2_mcspi_txrx_dma function
authorShubhrajyoti D <shubhrajyoti@ti.com>
Tue, 11 Sep 2012 06:43:20 +0000 (12:13 +0530)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 12 Sep 2012 13:52:30 +0000 (21:52 +0800)
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>

No differences found