commit | 0807c4ceb8d171a116edc33e34166416876cae5d | [log] [tgz] |
---|---|---|
author | Johan Hovold <johan@kernel.org> | Mon Nov 28 19:25:03 2016 +0100 |
committer | David S. Miller <davem@davemloft.net> | Tue Nov 29 23:17:02 2016 -0500 |
tree | 7216d12cc6dae1503dbd64884bce6be65cd87895 | |
parent | 42c70042458d74ce049ce4a2ea7702f344a0dc0b [diff] |
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>