From: David S. Miller Date: Fri, 2 Dec 2016 15:42:47 +0000 (-0500) Subject: Merge branch 'stmmac-probe-error-handling-and-phydev-leaks' X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d262fd12cd03afca40ced117d837fa576a667eab;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git Merge branch 'stmmac-probe-error-handling-and-phydev-leaks' Johan Hovold says: ==================== net: stmmac: fix probe error handling and phydev leaks This series fixes a number of issues with the stmmac-driver probe error handling, which for example left clocks enabled after probe failures. The final patch fixes a failure to deregister and free any fixed-link PHYs that were registered during probe on probe errors and on driver unbind. It also fixes a related of-node leak on late probe errors. This series depends on the of_phy_deregister_fixed_link() helper that was just merged to net. As mentioned earlier, one staging driver also suffers from a similar leak and can be fixed up once the above mentioned helper hits mainline. Note that these patches have only been compile tested. ==================== Acked-by: Giuseppe Cavallaro Signed-off-by: David S. Miller --- d262fd12cd03afca40ced117d837fa576a667eab