[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20210316125138.2421-1-angkery@163.com>
Date: Tue, 16 Mar 2021 20:51:38 +0800
From: angkery <angkery@....com>
To: kishon@...com, vkoul@...nel.org, yuehaibing@...wei.com,
rikard.falkeborn@...il.com, weiyongjun1@...wei.com, jsarha@...com
Cc: linux-phy@...ts.infradead.org, linux-kernel@...r.kernel.org,
Junlin Yang <yangjunlin@...ong.com>
Subject: [PATCH] Revert "phy: ti: j721e-wiz: add missing of_node_put"
From: Junlin Yang <yangjunlin@...ong.com>
This reverts commit 00f2e6f668b05c259f3f8d1e943318bcad8486e7.
The duplicate from #796 should be removed.
Signed-off-by: Junlin Yang <yangjunlin@...ong.com>
---
drivers/phy/ti/phy-j721e-wiz.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/phy/ti/phy-j721e-wiz.c b/drivers/phy/ti/phy-j721e-wiz.c
index 59439a9..448d8d1 100644
--- a/drivers/phy/ti/phy-j721e-wiz.c
+++ b/drivers/phy/ti/phy-j721e-wiz.c
@@ -793,7 +793,6 @@ static int wiz_get_lane_phy_types(struct device *dev, struct wiz *wiz)
dev_err(dev,
"%s: Reading \"reg\" from \"%s\" failed: %d\n",
__func__, subnode->name, ret);
- of_node_put(subnode);
return ret;
}
of_property_read_u32(subnode, "cdns,num-lanes", &num_lanes);
--
1.9.1
Powered by blists - more mailing lists