Re: [PATCH -next] ARM: versatile: Add missing of_node_put in dcscb_init

From: Linus Walleij
Date: Thu Apr 28 2022 - 19:04:59 EST


On Mon, Apr 25, 2022 at 10:18 AM Peng Wu <wupeng58@xxxxxxxxxx> wrote:

> The device_node pointer is returned by of_find_compatible_node
> with refcount incremented. We should use of_node_put() to avoid
> the refcount leak.
>
> Signed-off-by: Peng Wu <wupeng58@xxxxxxxxxx>

I applied this on linux-next. signed off and sent directly to
the SoC tree.

Yours,
Linus Walleij