diff options
author | Wei Yongjun <weiyongjun1@huawei.com> | 2017-01-25 17:02:48 +0300 |
---|---|---|
committer | Peter Chen <peter.chen@nxp.com> | 2017-02-03 11:48:47 +0300 |
commit | 753dfd23612dfb4b585b7814a94237987fdf3359 (patch) | |
tree | 197399f963c068dea64ef5b29017f2feb538bd9a /Documentation/men-chameleon-bus.txt | |
parent | 490b63e6de63d13e82110f4cb5f1aa31dd27245a (diff) | |
download | linux-753dfd23612dfb4b585b7814a94237987fdf3359.tar.xz |
usb: chipidea: msm: Fix return value check in ci_hdrc_msm_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().
Fixes: 2fc305be364e ("usb: chipidea: msm: Mux over secondary phy at the
right time")
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Reviewed-by: Stephen Boyd <stephen.boyd@linaro.org>
Signed-off-by: Peter Chen <peter.chen@nxp.com>
Diffstat (limited to 'Documentation/men-chameleon-bus.txt')
0 files changed, 0 insertions, 0 deletions