diff options
author | Johan Hovold <johan@kernel.org> | 2016-11-28 19:24:57 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-11-29 23:17:02 -0500 |
commit | 9e081031303834bf86d8cfeccd44df09b2c21377 (patch) | |
tree | 4203d82ccc1b5c619c8ed4082343d4f3fd5e61da /drivers/net/ethernet/ibm | |
parent | 5a89394ad2a5b94885bdbbb611518b0cc70bf354 (diff) |
net: ethernet: aurora: nb8800: 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: c7dfe3abf40e ("net: ethernet: nb8800: support fixed-link DT
node")
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/ibm')
0 files changed, 0 insertions, 0 deletions