gpio: amd-fch: switch to guard() notation

guard() is more concise and ensures that lock is released at the end of
the scope.

Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Reviewed-by: Linus Walleij <linusw@kernel.org>
Link: https://patch.msgid.link/aZarCgDvMUta4Viq@google.com
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
This commit is contained in:
Dmitry Torokhov 2026-02-18 22:46:01 -08:00 • committed by Bartosz Golaszewski
commit 45bd4e25f8