Johan Hovold 5a57a30431 net: ethernet: marvell: mvneta: fix fixed-link phydev leaks
Make sure to deregister and free any fixed-link PHY registered using
of_phy_register_fixed_link() on probe errors and on driver unbind.

Fixes: 83895bedeee6 ("net: mvneta: add support for fixed links")
Signed-off-by: Johan Hovold <johan@kernel.org>
Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-11-29 23:17:02 -05:00
..
2016-08-06 09:20:13 -04:00
2016-08-15 11:57:55 -07:00
2016-11-27 19:59:50 -05:00
2016-08-31 14:33:09 -07:00
2016-09-20 22:55:23 -04:00
2016-08-30 22:27:18 -07:00
2016-11-09 18:59:50 -05:00