diff options
author | 2025-04-30 11:27:34 +0800 | |
---|---|---|
committer | 2025-04-30 09:06:23 +0200 | |
commit | 2117c1d503b4e0fd0c6776ae9fe4df2260643eae (patch) | |
tree | 92bdf578955e1735f8b57ee81687b78bee43dbad /scripts/lib/kdoc/kdoc_files.py | |
parent | alarmtimer: Remove dead return value in clock2alarm() (diff) | |
download | linux-rng-2117c1d503b4e0fd0c6776ae9fe4df2260643eae.tar.xz linux-rng-2117c1d503b4e0fd0c6776ae9fe4df2260643eae.zip |
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/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions