Re: [PATCH] phy: ti: j721e-wiz: add missing call to of_node_put()

From: Vinod Koul
Date: Tue Mar 02 2021 - 10:06:32 EST


On 25-02-21, 17:17, Yang Li wrote:
> In one of the error paths of the for_each_child_of_node() loop in
> of_property_read_u32, add missing call to of_node_put().
>
> Fix the following coccicheck warning:
> ./drivers/phy/ti/phy-j721e-wiz.c:786:1-23: WARNING: Function
> "for_each_child_of_node" should have of_node_put() before return around
> line 795.

Applied, thanks

--
~Vinod