Re: [PATCH v2 1/2] gpio: adnp: use lock guards for the I2C lock

From: Linus Walleij
Date: Fri Mar 14 2025 - 06:09:53 EST


On Thu, Mar 6, 2025 at 6:19 PM Bartosz Golaszewski <brgl@xxxxxxxx> wrote:

> From: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx>
>
> Reduce the code complexity by using automatic lock guards with the I2C
> mutex.
>
> Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx>

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

Yours,
Linus Walleij