commit | 6310372dc34bae740db280d3354b2e470cd31284 | [log] [tgz] |
---|---|---|
author | Hiep Cao Minh <cm-hiep@jinso.co.jp> | Thu Apr 30 11:12:12 2015 +0900 |
committer | Mark Brown <broonie@kernel.org> | Thu May 07 13:56:46 2015 +0100 |
tree | cafb388302f34e5218ae07be6a5186ca4b2ac978 | |
parent | 8634dafac6f58c91ab2461a68e8d7ea18ec0486b [diff] |
spi: rspi: Re-do the returning value of rspi_dma_check_then_transfer 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>