aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/usb/host/ohci-exynos.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/host/ohci-exynos.c b/drivers/usb/host/ohci-exynos.c
index 060a6a414750..a72ab8fe8cd3 100644
--- a/drivers/usb/host/ohci-exynos.c
+++ b/drivers/usb/host/ohci-exynos.c
@@ -87,7 +87,7 @@ static int exynos_ohci_get_phy(struct device *dev,
87 return -EINVAL; 87 return -EINVAL;
88 } 88 }
89 89
90 phy = devm_of_phy_get(dev, child, 0); 90 phy = devm_of_phy_get(dev, child, NULL);
91 of_node_put(child); 91 of_node_put(child);
92 if (IS_ERR(phy)) { 92 if (IS_ERR(phy)) {
93 ret = PTR_ERR(phy); 93 ret = PTR_ERR(phy);