commit | 42c70042458d74ce049ce4a2ea7702f344a0dc0b | [log] [tgz] |
---|---|---|
author | Johan Hovold <johan@kernel.org> | Mon Nov 28 19:25:02 2016 +0100 |
committer | David S. Miller <davem@davemloft.net> | Tue Nov 29 23:17:02 2016 -0500 |
tree | 59579e9868bd551bf83556a13824d51314e27c82 | |
parent | b9755f03728b21c36375a47a6c6366e00b4f2062 [diff] |
net: ethernet: gianfar: 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: be40364544bd ("gianfar: use the new fixed PHY helpers") Signed-off-by: Johan Hovold <johan@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>