diff options
| author | Wei Yongjun <weiyongjun1@huawei.com> | 2016-08-21 14:39:30 +0000 | 
|---|---|---|
| committer | Bjorn Andersson <bjorn.andersson@linaro.org> | 2016-08-22 21:36:43 -0700 | 
| commit | f4e1f9bb3498c0a9a3b92815f2ea64650eac1715 (patch) | |
| tree | 833502ccca479bfc263414390e266df61f083ae4 /net/lapb/lapb_timer.c | |
| 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>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions
