spi: rspi: Re-do the returning value of rspi_dma_check_then_transfer
authorHiep Cao Minh <cm-hiep@jinso.co.jp>
Thu, 30 Apr 2015 02:12:12 +0000 (11:12 +0900)
committerMark Brown <broonie@kernel.org>
Thu, 7 May 2015 12:56:46 +0000 (13:56 +0100)
To reduce indentation and complexity of code, insteeds of returning zero
the function rspi_dma_check_then_transfer should return rspi_dma_transfer
directly after checking error.

Signed-off-by: Hiep Cao Minh <cm-hiep@jinso.co.jp>
Signed-off-by: Mark Brown <broonie@kernel.org>

No differences found