spi: rspi: Re-do the returning value of qspi_transfer_out_in
authorHiep Cao Minh <cm-hiep@jinso.co.jp>
Fri, 22 May 2015 09:59:37 +0000 (18:59 +0900)
committerMark Brown <broonie@kernel.org>
Tue, 2 Jun 2015 13:58:58 +0000 (14:58 +0100)
commitcc2e9328ed09cfd07c2b18e7d9d1826f30df9ec0
tree3ff688fb560aed85cf6a112facd7e93bb322c91a
parenta91bbe7d3fbc448dda9822467561e838cea005f8
spi: rspi: Re-do the returning value of qspi_transfer_out_in

To reduce complexity of code, drop "ret" then qspi_transfer_out_in function
should return the value of "qspi_trigger_transfer_out_in" directly.

Signed-off-by: Hiep Cao Minh <cm-hiep@jinso.co.jp>
Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-rspi.c