commit | 8581bbcd30afa9d2fa12ad1605c809b7ada495ea | [log] [tgz] |
---|---|---|
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | Fri May 31 09:50:07 2013 +0800 |
committer | Linus Walleij <linus.walleij@linaro.org> | Tue Jun 04 11:12:46 2013 +0200 |
tree | 38a36942784089ac28909eba0a4e03048545565a | |
parent | 499c2bc3cc89dcbbf08aa526cd4a984b92a4d2a8 [diff] |
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 <yongjun_wei@trendmicro.com.cn> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>