aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/aurora/nb8800.c
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2016-11-28 19:24:56 +0100
committerDavid S. Miller <davem@davemloft.net>2016-11-29 23:17:02 -0500
commit5a89394ad2a5b94885bdbbb611518b0cc70bf354 (patch)
treebc37616a2b15a4bf4c0f33092b28c5761a4c024e /drivers/net/ethernet/aurora/nb8800.c
parentof_mdio: add helper to deregister fixed-link PHYs (diff)
downloadlinux-dev-5a89394ad2a5b94885bdbbb611518b0cc70bf354.tar.xz
linux-dev-5a89394ad2a5b94885bdbbb611518b0cc70bf354.zip
net: ethernet: altera: 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: 7cdbc6f74f8e ("altera tse: add support for fixed-links.") Signed-off-by: Johan Hovold <johan@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/aurora/nb8800.c')
0 files changed, 0 insertions, 0 deletions