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 <a...@arndb.de> > Signed-off-by: Sergei Shtylyov <sergei.shtyl...@cogentembedded.com>
Reviewed-by: Florian Fainelli <f.faine...@gmail.com> -- Florian