net: phy: Handle phy_startup() error codes properly
authorMichal Simek <michal.simek@xilinx.com>
Wed, 18 May 2016 10:46:12 +0000 (12:46 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 24 May 2016 11:17:59 +0000 (13:17 +0200)
commitb733c278d7adc48c71bd06faf359db3d9e385185
treeffac509445c1f6964c49fac2bad7773825a73f13
parentef5e821bd89aa059a20841e041221dadbf60aa7d
net: phy: Handle phy_startup() error codes properly

Propagate error code from genphy_update_link() to phy startup().

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Acked-by: Stephen Warren <swarren@nvidia.com>
drivers/net/phy/broadcom.c
drivers/net/phy/davicom.c
drivers/net/phy/et1011c.c
drivers/net/phy/lxt.c
drivers/net/phy/marvell.c
drivers/net/phy/micrel.c
drivers/net/phy/natsemi.c
drivers/net/phy/phy.c
drivers/net/phy/realtek.c
drivers/net/phy/smsc.c
drivers/net/phy/vitesse.c