From: Wei Yongjun Date: Fri, 31 May 2013 01:50:07 +0000 (+0800) Subject: dmaengine: ste_dma40: fix error return code in d40_probe() X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~68^2^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8581bbcd30afa9d2fa12ad1605c809b7ada495ea;p=pandora-kernel.git dmaengine: ste_dma40: fix error return code in d40_probe() In many of the error handling case, the return value 'ret' not set and 0 will be return from d40_probe() even if error, but we should return a negative error code instead in those error handling case. This patch fixed them, and also removed useless variable 'err'. Signed-off-by: Wei Yongjun Signed-off-by: Linus Walleij --- Reading git-diff-tree failed