net: phy: Fix return value check phy_probe
authorSiva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>
Mon, 4 Mar 2019 15:02:11 +0000 (16:02 +0100)
committerJoe Hershberger <joe.hershberger@ni.com>
Wed, 8 May 2019 22:27:00 +0000 (17:27 -0500)
commit05eb6a698acbd6465c032d39ea77b79f831f05af
treefee018e80c576d09c3ab300496d7e60b4da085ba
parentc689c4867286888099c21e02d2494f047060d06f
net: phy: Fix return value check phy_probe

Don't ignore return value of phy_probe() call as
the probe may fail and it needs to be reported.

Signed-off-by: Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/phy/phy.c