[PATCH] phy: rockchip-typec: add missing of_node_put

Vinod Koul vkoul at kernel.org
Mon Mar 15 10:05:53 GMT 2021


On 16-02-21, 16:48, angkery wrote:
> From: Junlin Yang <yangjunlin at yulong.com>
> 
> 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

Applied, thanks

-- 
~Vinod



More information about the linux-arm-kernel mailing list