commit | 6ffe1c4cd0a77f51d8d2985aa721d636b03ddf58 | [log] [tgz] |
---|---|---|
author | Johan Hovold <johan@kernel.org> | Thu Nov 24 19:21:31 2016 +0100 |
committer | David S. Miller <davem@davemloft.net> | Sun Nov 27 20:01:15 2016 -0500 |
tree | 0c8c0a6f7970c96c4827a06f9c0d0e19b9e62e48 | |
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>