On 24/04/16 10:25, Sergei Shtylyov wrote: > Arnd Bergmann asked that get_phy_device() returns either NULL or the error > value, not both on error. Do as he said, return ERR_PTR(-ENODEV) instead > of NULL when the PHY ID registers read as all ones. > > Suggested-by: Arnd Bergmann <[email protected]> > Signed-off-by: Sergei Shtylyov <[email protected]>
Reviewed-by: Florian Fainelli <[email protected]> -- Florian
