diff options
author | Hiep Cao Minh <cm-hiep@jinso.co.jp> | 2015-04-30 02:12:12 (GMT) |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-05-07 12:56:46 (GMT) |
commit | 6310372dc34bae740db280d3354b2e470cd31284 (patch) | |
tree | cafb388302f34e5218ae07be6a5186ca4b2ac978 /drivers/rtc/rtc-spear.c | |
parent | 8634dafac6f58c91ab2461a68e8d7ea18ec0486b (diff) | |
download | linux-6310372dc34bae740db280d3354b2e470cd31284.tar.xz |
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>
Diffstat (limited to 'drivers/rtc/rtc-spear.c')
0 files changed, 0 insertions, 0 deletions