diff options
| author | Su Hui <[email protected]> | 2025-04-30 03:27:34 +0000 |
|---|---|---|
| committer | Thomas Gleixner <[email protected]> | 2025-04-30 07:06:23 +0000 |
| commit | 2117c1d503b4e0fd0c6776ae9fe4df2260643eae (patch) | |
| tree | 92bdf578955e1735f8b57ee81687b78bee43dbad /rust/helpers/mutex.c | |
| parent | alarmtimer: Remove dead return value in clock2alarm() (diff) | |
| download | kernel-2117c1d503b4e0fd0c6776ae9fe4df2260643eae.tar.gz kernel-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 <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Acked-by: John Stultz <[email protected]>
Link: https://lore.kernel.org/all/[email protected]
Diffstat (limited to 'rust/helpers/mutex.c')
0 files changed, 0 insertions, 0 deletions
