diff options
author | Su Hui <suhui@nfschina.com> | 2025-04-30 11:27:34 +0800 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2025-04-30 09:06:23 +0200 |
commit | 2117c1d503b4e0fd0c6776ae9fe4df2260643eae (patch) | |
tree | 92bdf578955e1735f8b57ee81687b78bee43dbad /scripts/gdb/linux/utils.py | |
parent | d8ca84d48a2a2d4f6780980743c34b70c49f5844 (diff) |
alarmtimer: Switch spin_{lock,unlock}_irqsave() to guards
Using guard/scoped_guard() to simplify code. Using guard() to remove
'goto unlock' label is neater especially.
[ tglx: Brought back the scoped_guard()'s which were dropped in v2 and
simplified alarmtimer_rtc_add_device() ]
Signed-off-by: Su Hui <suhui@nfschina.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: John Stultz <jstultz@google.com>
Link: https://lore.kernel.org/all/20250430032734.2079290-4-suhui@nfschina.com
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions