diff options
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | 2013-10-29 06:07:57 +0400 |
---|---|---|
committer | Peter De Schrijver <pdeschrijver@nvidia.com> | 2013-11-28 17:09:22 +0400 |
commit | 62ce7cd62f534023224912dc9b909963f26a38da (patch) | |
tree | fa0cbe9c27a15cf5104aa4bbe50ba978ba948619 /drivers/dma/dmaengine.c | |
parent | 8ba4b3b9cc3d95714b31467614205fc26b91fb7c (diff) | |
download | linux-62ce7cd62f534023224912dc9b909963f26a38da.tar.xz |
clk: tegra: fix __clk_lookup() return value checks
In case of error, the function __clk_lookup() returns NULL pointer
not ERR_PTR(). The IS_ERR() test in the return value check should
be replaced with NULL test.
Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Peter De Schrijver <pdeschrijver@nvidia.com>
Diffstat (limited to 'drivers/dma/dmaengine.c')
0 files changed, 0 insertions, 0 deletions