Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit c1c7acac authored by Dan Carpenter's avatar Dan Carpenter Committed by Kishon Vijay Abraham I
Browse files

phy: mvebu-cp110: checking for NULL instead of IS_ERR()



devm_ioremap_resource() never returns NULL, it only returns error
pointers so this test needs to be changed.

Fixes: d0438bd6 ("phy: add the mvebu cp110 comphy driver")
Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarKishon Vijay Abraham I <kishon@ti.com>
parent 17fb745d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment