Re: [PATCH] gpio: pxa: use devres for the clock struct

From: Linus Walleij
Date: Tue Aug 16 2022 - 17:08:28 EST


On Mon, Aug 15, 2022 at 11:19 AM Bartosz Golaszewski <brgl@xxxxxxxx> wrote:

> The clock is never released after probe(). Use devres to not leak
> resources.
>
> Reported-by: Hulk Robot <hulkci@xxxxxxxxxx>
> Reported-by: Yuan Can <yuancan@xxxxxxxxxx>
> Signed-off-by: Bartosz Golaszewski <brgl@xxxxxxxx>

Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx>

Yours,
Linus Walleij