]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
phylib: phy_startup() should return an error code on failure
authorTimur Tabi <timur@freescale.com>
Thu, 5 Jul 2012 10:33:18 +0000 (10:33 +0000)
committerJoe Hershberger <joe.hershberger@ni.com>
Wed, 11 Jul 2012 18:15:30 +0000 (13:15 -0500)
commit6e5b9ac097689e96d53f638842823fb1d1bf4223
tree4c1fa76993469c8caf910d8564e2469cba60d210
parentbc46dfac2f21756642e549b05689e03db538639f
phylib: phy_startup() should return an error code on failure

phy_startup() calls the PHY driver's startup function, but it ignores the
return code from that function, and so it never returns any failures.

Signed-off-by: Timur Tabi <timur@freescale.com>
drivers/net/phy/phy.c