diff options
author | 2016-11-28 19:25:06 +0100 | |
---|---|---|
committer | 2016-11-29 23:17:02 -0500 | |
commit | 9f70eb339f5246ce7be6bb41a4602ce87ebbfc4b (patch) | |
tree | ddb00c1949f001527e3c4e9419213adea72c7f6d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | net: ethernet: mediatek: fix fixed-link phydev leaks (diff) | |
download | wireguard-linux-9f70eb339f5246ce7be6bb41a4602ce87ebbfc4b.tar.xz wireguard-linux-9f70eb339f5246ce7be6bb41a4602ce87ebbfc4b.zip |
net: ethernet: renesas: ravb: 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 device
close after having disconnected the PHY.
Fixes: b4bc88a868ed ("ravb: Add fixed-link 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