phy: rockchip-typec: add missing of_node_put
Fix OF node leaks by calling of_node_put in for_each_available_child_of_node when the cycle returns. Generated by: scripts/coccinelle/iterators/for_each_child.cocci Signed-off-by: Junlin Yang <yangjunlin@yulong.com> Link: https://lore.kernel.org/r/20210216084847.1544-1-angkery@163.comSigned-off-by: Vinod Koul <vkoul@kernel.org>
Showing
Please register or sign in to comment