commit | 56b337ef505df94006db0478a35b67087449e77a | [log] [tgz] |
---|---|---|
author | Wei Yongjun <weiyongjun1@huawei.com> | Fri Jan 10 01:25:33 2020 +0000 |
committer | Kishon Vijay Abraham I <kishon@ti.com> | Tue Jan 14 10:50:19 2020 +0530 |
tree | 509b7e199bf0fc333f66b0655c253dfd443ecd2f | |
parent | b66d1ac82918cb5860e684153706058b3330df00 [diff] |
phy: ti: j721e-wiz: Fix return value check in wiz_probe() In case of error, the function devm_ioremap() returns NULL pointer not ERR_PTR(). The IS_ERR() test in the return value check should be replaced with NULL test. Fixes: b46f531313a4 ("phy: ti: j721e-wiz: Add support for WIZ module present in TI J721E SoC") Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>