Re: [PATCH] lib/string_helpers: add allocated strarray to device resource.

From: Linus Walleij
Date: Thu May 12 2022 - 16:49:46 EST


On Fri, May 6, 2022 at 4:28 AM Puyou Lu <puyou.lu@xxxxxxxxx> wrote:

> This is a must to automatically release strarray when the device
> disappears.
>
> Signed-off-by: Puyou Lu <puyou.lu@xxxxxxxxx>

Looks correct to me.
Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx>

(But really Tejun is the one who knows how devres is supposed
to be used, added on To: line)

Yours,
Linus Walleij