mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-10 20:48:12 +00:00
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:
parent
a05cfd98c5
commit
45bd4e25f8
1 changed files with 5 additions and 17 deletions
Loading…
Add table
Add a link
Reference in a new issue