[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CACRpkdYD4PVMLt9TLk+M8BxGkW5uDmeU61BN7UL1xhVkf3g27A@mail.gmail.com>
Date: Mon, 27 Jun 2022 11:26:14 +0200
From: Linus Walleij <linus.walleij@...aro.org>
To: Liang He <windhl@....com>
Cc: mturquette@...libre.com, sboyd@...nel.org,
linux-arm-kernel@...ts.infradead.org, linux-clk@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v4] clk: nomadik: Add missing of_node_put()
On Fri, Jun 17, 2022 at 3:43 AM Liang He <windhl@....com> wrote:
> In nomadik_src_init(), of_find_matching_node() will 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: Liang He <windhl@....com>
Reviewed-by: Linus Walleij <linus.walleij@...aro.org>
Yours,
Linus Walleij
Powered by blists - more mailing lists