spi: sirf: fix 'cmd_transfer' function typos
authorQipan Li <Qipan.Li@csr.com>
Tue, 2 Sep 2014 09:01:04 +0000 (17:01 +0800)
committerMark Brown <broonie@kernel.org>
Thu, 4 Sep 2014 22:35:58 +0000 (23:35 +0100)
commit0021d97334d207169d2935489b8be11dc52c54a8
treec636d2a82db70e6ae8fcef9c8bfd4e3f71663cfe
parent7850cdfc8028cc7d522c032f64c62c1c01e85875
spi: sirf: fix 'cmd_transfer' function typos

unify 'cmd_transfer' like 'pio_transfer' and 'dma_transfer' as void
function, and also change left_rx_word according to transfer result.

Signed-off-by: Qipan Li <Qipan.Li@csr.com>
Signed-off-by: Barry Song <Baohua.Song@csr.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-sirf.c