[netdrvr] phy: Fix bugs in error handling
authorJeff Garzik <jeff@garzik.org>
Sun, 1 Oct 2006 11:27:46 +0000 (07:27 -0400)
committerJeff Garzik <jeff@garzik.org>
Sun, 1 Oct 2006 11:27:46 +0000 (07:27 -0400)
The recent __must_check stuff flagged some error handling bugs.

phy/fixed.c:
* handle device_bind_driver() failure

phy/phy_device.c:
* handle device_bind_driver() failure
* release rwsem upon failure

Signed-off-by: Jeff Garzik <jeff@garzik.org>

No differences found