diff options
author | Johan Hovold | 2016-11-28 19:25:03 +0100 |
---|---|---|
committer | David S. Miller | 2016-11-30 05:17:02 +0100 |
commit | 0807c4ceb8d171a116edc33e34166416876cae5d (patch) | |
tree | 7216d12cc6dae1503dbd64884bce6be65cd87895 /drivers/net/ethernet/marvell/mvneta.c | |
parent | net: ethernet: gianfar: fix fixed-link phydev leaks (diff) | |
download | kernel-qcow2-linux-0807c4ceb8d171a116edc33e34166416876cae5d.tar.gz kernel-qcow2-linux-0807c4ceb8d171a116edc33e34166416876cae5d.tar.xz kernel-qcow2-linux-0807c4ceb8d171a116edc33e34166416876cae5d.zip |
net: ethernet: ucc_geth: 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: 87009814cdbb ("ucc_geth: use the new fixed PHY helpers")
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/marvell/mvneta.c')
0 files changed, 0 insertions, 0 deletions