Skip to content
Commit 412a75dc authored by David S. Miller's avatar David S. Miller
Browse files

Merge branch 'fixed_phy_register-return-value'



Ruan Jinjie says:

====================
net: Return PTR_ERR() for fixed_phy_register()

fixed_phy_register() returns not only -EIO or -ENODEV, but also
-EPROBE_DEFER, -EINVAL and -EBUSY. The Best practice is to return these
error codes with PTR_ERR().
====================

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parents b22eef68 294f48e9
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