summaryrefslogtreecommitdiff
path: root/rust/helpers/workqueue.c
diff options
context:
space:
mode:
authorNam Cao <namcao@linutronix.de>2025-02-05 11:46:29 +0100
committerThomas Gleixner <tglx@linutronix.de>2025-02-18 11:19:07 +0100
commit7b5edfd278b04bd158c14554dd494ec00aa9e275 (patch)
treec29704e1fc6e40c90776072f97ee829be3878578 /rust/helpers/workqueue.c
parentff533f73d5c038e9be359fbc587dc229a8299e13 (diff)
virtio: mem: Switch to use hrtimer_setup()
hrtimer_setup() takes the callback function pointer as argument and initializes the timer completely. Replace hrtimer_init() and the open coded initialization of hrtimer::function with the new setup mechanism. Signed-off-by: Nam Cao <namcao@linutronix.de> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: Zack Rusin <zack.rusin@broadcom.com> Link: https://lore.kernel.org/all/4a911503d16684592b59a16d8ade97e42df64a54.1738746904.git.namcao@linutronix.de
Diffstat (limited to 'rust/helpers/workqueue.c')
0 files changed, 0 insertions, 0 deletions