arc_emac: fix probe error path
authorHeiko Stübner <heiko@sntech.de>
Fri, 25 Apr 2014 08:03:29 +0000 (10:03 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sun, 27 Apr 2014 23:46:17 +0000 (19:46 -0400)
commit796bec1efbbd3be98d84cd68279c6ec03a4782f9
tree3651763bbe6a80d1b2adaced080960651ed4580f
parent30313a3d5794472c3548d7288e306a5492030370
arc_emac: fix probe error path

The probe function at the moment only frees the netdev but does not disconnect
the phy or removes the mdio bus it registered.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/arc/emac_main.c