projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
usb: ehci/ohci-exynos: Fix of_node_put() for child when getting PHYs
[cascardo/linux.git]
/
drivers
/
usb
/
host
/
ohci-exynos.c
diff --git
a/drivers/usb/host/ohci-exynos.c
b/drivers/usb/host/ohci-exynos.c
index
d28b658
..
39f366b
100644
(file)
--- a/
drivers/usb/host/ohci-exynos.c
+++ b/
drivers/usb/host/ohci-exynos.c
@@
-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) {