commit | fd05d7b18cec1af043990c4b3aabc6780575375c | [log] [tgz] |
---|---|---|
author | Johan Hovold <johan@kernel.org> | Thu Nov 24 19:21:27 2016 +0100 |
committer | David S. Miller <davem@davemloft.net> | Sun Nov 27 20:01:15 2016 -0500 |
tree | b7820844a9aac567f12a48550b3cd3639075030b | |
parent | c9bd28233b6d0d82ac3ba0215723be0a8262c39c [diff] |
net: dsa: fix fixed-link-phy device leaks Make sure to drop the reference taken by of_phy_find_device() when registering and deregistering the fixed-link PHY-device. Fixes: 39b0c705195e ("net: dsa: Allow configuration of CPU & DSA port speeds/duplex") Signed-off-by: Johan Hovold <johan@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>