Re: [PATCH] clk: bcm: bcm53573: fix OF node leak in init
From: Stephen Boyd
Date: Wed Aug 28 2024 - 14:54:33 EST
Quoting Krzysztof Kozlowski (2024-08-25 23:58:01)
> Driver code is leaking OF node reference from of_get_parent() in
> bcm53573_ilp_init(). Usage of of_get_parent() is not needed in the
> first place, because the parent node will not be freed while we are
> processing given node (triggered by CLK_OF_DECLARE()). Thus fix the
> leak by accessing parent directly, instead of of_get_parent().
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx>
> ---
Applied to clk-next