diff options
| author | Heiko Stuebner <heiko@sntech.de> | 2025-08-04 15:07:25 +0200 |
|---|---|---|
| committer | Lee Jones <lee@kernel.org> | 2025-10-01 10:28:15 +0100 |
| commit | 21c5ffb4211203de0a91de8a1c4a329e508a2ffb (patch) | |
| tree | 2bccd2156585901933e74ca722e5013e1fb5bf7c /scripts/gdb/linux/modules.py | |
| parent | bf2de43060d528e52e372c63182a94b95c80d305 (diff) | |
mfd: qnap-mcu: Convert to guard(mutex) in qnap_mcu_exec
guard() makes sure that the mutex gets unlocked when the function returns
and thus removes the need for unlock gotos or similar mechanisms and
therefore allows for a simpler function structure.
So convert the qnap_mcu_exec function to use it.
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://lore.kernel.org/r/20250804130726.3180806-4-heiko@sntech.de
Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions
