commit | 5a89394ad2a5b94885bdbbb611518b0cc70bf354 | [log] [tgz] |
---|---|---|
author | Johan Hovold <johan@kernel.org> | Mon Nov 28 19:24:56 2016 +0100 |
committer | David S. Miller <davem@davemloft.net> | Tue Nov 29 23:17:02 2016 -0500 |
tree | bc37616a2b15a4bf4c0f33092b28c5761a4c024e | |
parent | 3f65047c853a2a5abcd8ac1984af3452b5df4ada [diff] |
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>