timens: Use task_lock guard in timens_get*()

Simplify the logic in timens_get*() by converting the task_lock usage to a guard(). Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de> Signed-off-by: Thomas Gleixner <tglx@kernel.org> Link: https://patch.msgid.link/20260330-timens-cleanup-v1-4-936e91c9dd30@linutronix.de


Author Thomas Weißschuh Committer Thomas Gleixner Date Commit Parent 6d89dc8b
+14 -16
1 changed file
+14 -16
1 changed file