diff options
author | Vinod Koul <vkoul@kernel.org> | 2021-04-08 11:59:14 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-04-16 07:27:37 +0200 |
commit | ed917b028d0cea5d6f81472a9b7c3266feb9dd42 (patch) | |
tree | 481f6d51ae0c827811ad9a0a2d9f44227273f89c /drivers/phy/ti/phy-j721e-wiz.c | |
parent | 76b453873628946d4794964fee75835114e5f35b (diff) |
phy: Revert "phy: ti: j721e-wiz: add missing of_node_put"
This reverts commit 00f2e6f668b0 ("phy: ti: j721e-wiz: add missing of_node_put")
as it erroneously adds the of_node_put() as incorrect place.
Reported-by: Junlin Yang <yangjunlin@yulong.com>
Link: https://lore.kernel.org/r/20210408062914.3813102-1-vkoul@kernel.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/phy/ti/phy-j721e-wiz.c')
-rw-r--r-- | drivers/phy/ti/phy-j721e-wiz.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/phy/ti/phy-j721e-wiz.c b/drivers/phy/ti/phy-j721e-wiz.c index ab28fb2e01db..9eb6d37c907e 100644 --- a/drivers/phy/ti/phy-j721e-wiz.c +++ b/drivers/phy/ti/phy-j721e-wiz.c @@ -1115,7 +1115,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); |