Re: [PATCH 12/15] gpio: aspeed: use lock guards

From: Andrew Jeffery
Date: Mon Mar 17 2025 - 21:24:27 EST


On Mon, 2025-03-03 at 14:18 +0100, Bartosz Golaszewski wrote:
> From: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx>
>
> Reduce the code complexity by using automatic lock guards with the raw
> spinlock.
>
> Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx>

Nice!

Reviewed-by: Andrew Jeffery <andrew@xxxxxxxxxxxxxxxxxxxx>