Re: [PATCH v1 1/3] gpio: pca9570: Use devm_mutex_init() for mutex initialization
From: Linus Walleij
Date: Tue Jan 13 2026 - 05:16:36 EST
On Tue, Jan 13, 2026 at 11:09 AM Andy Shevchenko
<andriy.shevchenko@xxxxxxxxxxxxxxx> wrote:
> Replace mutex_init() with the devm_mutex_init(), to ensure proper mutex
> cleanup during probe failure and driver removal.
>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
Reviewed-by: Linus Walleij <linusw@xxxxxxxxxx>
Yours,
Linus Walleij