Re: [PATCH] drivers: clk: Add missing of_node_put() in clk-nomadik.c
From: Linus Walleij
Date: Sat Jun 25 2022 - 19:06:50 EST
On Wed, Jun 15, 2022 at 10:30 AM heliang <windhl@xxxxxxx> wrote:
> In nomadik_src_init, of_find_matching_node() return a node pointer
> with refcount incremented. We should use of_node_put() in fail path
> or when it is not used anymore.
>
> Signed-off-by: heliang <windhl@xxxxxxx>
Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx>
Yours,
Linus Walleij