diff options
author | 2016-11-28 19:25:05 +0100 | |
---|---|---|
committer | 2016-11-29 23:17:02 -0500 | |
commit | 16a67eb3ec21ddb557d064a6901ec4629e96b94c (patch) | |
tree | 5c0a543cd2bd4c894c300a09ad1f4d4df00c72e1 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | net: ethernet: marvell: mvneta: fix fixed-link phydev leaks (diff) | |
download | wireguard-linux-16a67eb3ec21ddb557d064a6901ec4629e96b94c.tar.xz wireguard-linux-16a67eb3ec21ddb557d064a6901ec4629e96b94c.zip |
net: ethernet: mediatek: fix fixed-link phydev leaks
Make sure to deregister and free any fixed-link PHY registered using
of_phy_register_fixed_link() on initialisation errors and on uninit.
Fixes: 0c72c50f6f93 ("net-next: mediatek: add fixed-phy support")
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions