diff options
author | Johan Hovold <johan@kernel.org> | 2016-11-28 21:25:09 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-11-30 07:17:02 +0300 |
commit | 881eadabe71fa78c081eda3cd5701768f3778a21 (patch) | |
tree | d7a3fd6644f2f711212b7e7cc7cabb113747128b /net/wimax | |
parent | 14cab6f6510c498c2fd55d4fd6063a91b477d2ff (diff) | |
download | linux-881eadabe71fa78c081eda3cd5701768f3778a21.tar.xz |
net: dsa: slave: fix fixed-link phydev leaks
Make sure to deregister and free any fixed-link PHY registered using
of_phy_register_fixed_link() on slave-setup errors and on slave destroy.
Fixes: 0d8bcdd383b8 ("net: dsa: allow for more complex PHY setups")
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/wimax')
0 files changed, 0 insertions, 0 deletions