diff options
author | Johan Hovold <johan@kernel.org> | 2016-11-28 21:25:07 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-11-30 07:17:02 +0300 |
commit | c41a47678d067efe8c87e8f1cfdcb0147e58ee62 (patch) | |
tree | eba5249cf400884394cd84e445eb3974271c2134 /drivers/oprofile/event_buffer.c | |
parent | 9f70eb339f5246ce7be6bb41a4602ce87ebbfc4b (diff) | |
download | linux-c41a47678d067efe8c87e8f1cfdcb0147e58ee62.tar.xz |
net: ethernet: dwc_eth_qos: 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: 077742dac2c7 ("dwc_eth_qos: Add support for Synopsys DWC Ethernet
QoS")
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/oprofile/event_buffer.c')
0 files changed, 0 insertions, 0 deletions