Re: [PATCH] phy: hisilicon: Add of_node_put() in phy-hisi-inno-usb2

From: Vinod Koul
Date: Sun Oct 24 2021 - 13:15:06 EST


On 15-10-21, 04:01, Wan Jiabing wrote:
> Fix following coccicheck warning:
> ./drivers/phy/hisilicon/phy-hisi-inno-usb2.c:138:1-23: WARNING: Function
> for_each_child_of_node should have of_node_put() before break
>
> Early exits from for_each_child_of_node should decrement the
> node reference counter.

Applied, thanks

--
~Vinod