summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>2013-05-31 09:50:07 +0800
committerLinus Walleij <linus.walleij@linaro.org>2013-06-04 11:12:46 +0200
commit8581bbcd30afa9d2fa12ad1605c809b7ada495ea (patch)
tree38a36942784089ac28909eba0a4e03048545565a /tools/perf/scripts/python
parent499c2bc3cc89dcbbf08aa526cd4a984b92a4d2a8 (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>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions