mirror of
https://github.com/torvalds/linux.git
synced 2026-11-30 18:42:21 +00:00
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: 2fc305be36 ("usb: chipidea: msm: Mux over secondary phy at the
right time")
Signed-off-by: Wei Yongjun <[email protected]>
Reviewed-by: Stephen Boyd <[email protected]>
Signed-off-by: Peter Chen <[email protected]>