diff options
author | Johan Hovold <johan@kernel.org> | 2016-11-28 19:25:08 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-11-29 23:17:02 -0500 |
commit | 14cab6f6510c498c2fd55d4fd6063a91b477d2ff (patch) | |
tree | ca56ccbb9f3e290dccd565385aaef923ac7cf09a /net/rds/tcp_listen.c | |
parent | c41a47678d067efe8c87e8f1cfdcb0147e58ee62 (diff) |
net: ethernet: ti: davinci_emac: fix fixed-link phydev and of-node 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.
Also remember to put the of-node reference on probe errors.
Fixes: 1bb6aa56bb38 ("net: davinci_emac: Add support for fixed-link
PHY")
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/rds/tcp_listen.c')
0 files changed, 0 insertions, 0 deletions