summaryrefslogtreecommitdiffstats
path: root/tools/thermal/tmon/tmon.c
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2017-01-02 12:56:03 +0100
committerDavid S. Miller <davem@davemloft.net>2017-01-03 09:33:00 -0500
commit6b4c212b95ce6a586473a772fb2d28ab22a38f0e (patch)
treea64dcbda44d0f500956c1df4236a73ecbd9d4f8f /tools/thermal/tmon/tmon.c
parent8f87e626b059f1b82b017f53c5ee91fbc4486e36 (diff)
downloadlinux-6b4c212b95ce6a586473a772fb2d28ab22a38f0e.tar.gz
linux-6b4c212b95ce6a586473a772fb2d28ab22a38f0e.tar.bz2
linux-6b4c212b95ce6a586473a772fb2d28ab22a38f0e.zip
net: stmmac: dwmac-oxnas: fix fixed-link-phydev leaks
Make sure to deregister and free any fixed-link phy registered during probe on probe errors and on driver unbind by calling the new glue helper function. For driver unbind, use the generic stmmac-platform remove implementation and add an exit callback to disable the clock. Fixes: 5ed7414062e7 ("net: stmmac: Add OXNAS Glue Driver") Signed-off-by: Johan Hovold <johan@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/thermal/tmon/tmon.c')
0 files changed, 0 insertions, 0 deletions