diff options
author | Johan Hovold <johan@kernel.org> | 2016-11-24 19:21:31 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-11-27 20:01:15 -0500 |
commit | 6ffe1c4cd0a77f51d8d2985aa721d636b03ddf58 (patch) | |
tree | 0c8c0a6f7970c96c4827a06f9c0d0e19b9e62e48 /drivers/hv | |
parent | cb1f3410ff12520b22fa03ccd23892c360de0c26 (diff) |
net: qcom/emac: fix of_node and phydev leaks
Make sure to drop the reference taken by of_phy_find_device() during
probe on probe errors and on driver unbind.
Also drop the of_node reference taken by of_parse_phandle() in the same
path.
Fixes: b9b17debc69d ("net: emac: emac gigabit ethernet controller driver")
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/hv')
0 files changed, 0 insertions, 0 deletions