commit | 53bf9590151e06e3f74212fea8da2eca2385db76 | [log] [tgz] |
---|---|---|
author | Wei Yongjun <weiyongjun1@huawei.com> | Tue Apr 25 03:14:54 2017 +0000 |
committer | Kishon Vijay Abraham I <kishon@ti.com> | Fri May 19 14:13:39 2017 +0530 |
tree | cb9ec61dcb011d5d5e22dcb2096cbbc35fbd3e23 | |
parent | 2ea659a9ef488125eb46da6eb571de5eae5c43f6 [diff] |
phy: qcom-qmp: fix return value check in qcom_qmp_phy_create() In case of error, the function of_iomap() returns NULL pointer not ERR_PTR(). The IS_ERR() test in the return value check should be replaced with NULL test. Fixes: e78f3d15e115 ("phy: qcom-qmp: new qmp phy driver for qcom-chipsets") Reviewed-by: Vivek Gautam <vivek.gautam@codeaurora.org> Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>