commit | f4e1f9bb3498c0a9a3b92815f2ea64650eac1715 | [log] [tgz] |
---|---|---|
author | Wei Yongjun <weiyongjun1@huawei.com> | Sun Aug 21 14:39:30 2016 +0000 |
committer | Bjorn Andersson <bjorn.andersson@linaro.org> | Mon Aug 22 21:36:43 2016 -0700 |
tree | 833502ccca479bfc263414390e266df61f083ae4 | |
parent | aed361adca9ff1d828843f3afc5d9140a2fa410d [diff] |
remoteproc: qcom: wcnss: Fix return value check in wcnss_probe() In case of error, the function devm_ioremap_resource() returns ERR_PTR() and never returns NULL. The NULL test in the return value check should be replaced with IS_ERR(). Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>