Messages in this thread | | | From | Linus Walleij <> | Date | Thu, 12 May 2022 22:49:30 +0200 | Subject | Re: [PATCH] lib/string_helpers: add allocated strarray to device resource. |
| |
On Fri, May 6, 2022 at 4:28 AM Puyou Lu <puyou.lu@gmail.com> wrote:
> This is a must to automatically release strarray when the device > disappears. > > Signed-off-by: Puyou Lu <puyou.lu@gmail.com>
Looks correct to me. Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
(But really Tejun is the one who knows how devres is supposed to be used, added on To: line)
Yours, Linus Walleij
| |