]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
gpio: tqmx86: use cleanup guards for spinlock
authorMatthias Schiffer <matthias.schiffer@ew.tq-group.com>
Thu, 12 Dec 2024 14:08:07 +0000 (15:08 +0100)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Mon, 16 Dec 2024 09:00:46 +0000 (10:00 +0100)
commit2abb6e53b5b08987265946b258ca29762091930c
tree4404db18016ce6044f45a53cd9eac1decf7be9be
parent0ccf314304ed5b83df7470a8ed0fe1b6ed48fc03
gpio: tqmx86: use cleanup guards for spinlock

As we're touching this code anyways, go all the way and fully replace
lock/unlock with guard and scoped_guard.

No functional change intended.

Signed-off-by: Matthias Schiffer <matthias.schiffer@ew.tq-group.com>
Link: https://lore.kernel.org/r/c89e7814ce5705e516116d0b86146d8455aaeddc.1734001247.git.matthias.schiffer@ew.tq-group.com
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
drivers/gpio/gpio-tqmx86.c