Skip to content
Commit 9bd73715 authored by Dan Carpenter's avatar Dan Carpenter Committed by Grant Likely
Browse files

of: check for IS_ERR()



get_phy_device() can return an ERR_PTR()

Signed-off-by: default avatarDan Carpenter <error27@gmail.com>
Signed-off-by: default avatarGrant Likely <grant.likely@secretlab.ca>
parent b0c06027
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment