From: Hiep Cao Minh Date: Thu, 30 Apr 2015 02:12:12 +0000 (+0900) Subject: spi: rspi: Re-do the returning value of rspi_dma_check_then_transfer X-Git-Tag: omap-for-v4.3/legacy-v2-signed~175^2~1^4~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6310372dc34bae740db280d3354b2e470cd31284;p=pandora-kernel.git 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 Signed-off-by: Mark Brown --- Reading git-diff-tree failed