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

Vinod Koul vkoul at kernel.org
Sun Oct 24 10:14:59 PDT 2021


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



More information about the linux-phy mailing list