On Tue, Nov 10, 2020 at 10:39 AM Bartosz Golaszewski <[email protected]> wrote:

> From: Bartosz Golaszewski <[email protected]>
>
> If all we want to manage is a single pointer, there's no need to
> manually allocate and add a new devres. We can simply use
> devm_add_action_or_reset() and shrink the code by a good bit.
>
> Signed-off-by: Bartosz Golaszewski <[email protected]>

Sweet!
Reviewed-by: Linus Walleij <[email protected]>

I suppose I will get this with a pull request.

Yours,
Linus Walleij

Reply via email to