Merge tag 'fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm...
[cascardo/linux.git] / drivers / net / ethernet / renesas / ravb_main.c
index 8377d02..1e1cc0f 100644 (file)
@@ -1005,6 +1005,7 @@ static int ravb_phy_init(struct net_device *ndev)
        }
        phydev = of_phy_connect(ndev, pn, ravb_adjust_link, 0,
                                priv->phy_interface);
+       of_node_put(pn);
        if (!phydev) {
                netdev_err(ndev, "failed to connect PHY\n");
                return -ENOENT;