From: Shubhrajyoti D Date: Tue, 11 Sep 2012 06:43:20 +0000 (+0530) Subject: spi: omap2-mcspi: Cleanup the omap2_mcspi_txrx_dma function X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~41^2~1^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d7b4394e780b02511c8a7a499380cdd56316c770;p=pandora-kernel.git 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 Tested-by: Felipe Balbi Signed-off-by: Mark Brown --- Reading git-diff-tree failed