Searched hist:"21 b89120be87b3fd2454e354bf466e5c4fea9624" (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/phy/hisilicon/ |
H A D | phy-hisi-inno-usb2.c | diff 21b89120be87b3fd2454e354bf466e5c4fea9624 Fri Oct 15 10:01:51 CEST 2021 Wan Jiabing <wanjiabing@vivo.com> phy: hisilicon: Add of_node_put() in phy-hisi-inno-usb2
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.
Signed-off-by: Wan Jiabing <wanjiabing@vivo.com> Link: https://lore.kernel.org/r/20211015080154.16016-1-wanjiabing@vivo.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
|