usb: ehci/ohci-exynos: Fix of_node_put() for child when getting PHYs
[cascardo/linux.git] / drivers / usb / host / ohci-exynos.c
index d28b658..39f366b 100644 (file)
@@ -63,7 +63,6 @@ static int exynos_ohci_get_phy(struct device *dev,
 
                phy = devm_of_phy_get(dev, child, NULL);
                exynos_ohci->phy[phy_number] = phy;
-               of_node_put(child);
                if (IS_ERR(phy)) {
                        ret = PTR_ERR(phy);
                        if (ret == -EPROBE_DEFER) {