summaryrefslogtreecommitdiff
path: root/rust/helpers/workqueue.c
diff options
context:
space:
mode:
authorNam Cao <namcao@linutronix.de>2025-02-05 11:46:26 +0100
committerThomas Gleixner <tglx@linutronix.de>2025-02-18 11:19:06 +0100
commitc38e753abee274318a52ba53f99446a1b912ceea (patch)
tree9984267acfb067e3bbe150c677038b78b78e231e /rust/helpers/workqueue.c
parent58ac3c93306ec588a6dbb8d3e02ac1109b32df6b (diff)
drm/vkms: 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. Patch was created by using Coccinelle. 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/866841803c850c38819f98fdf6bd992ee4a4d012.1738746904.git.namcao@linutronix.de
Diffstat (limited to 'rust/helpers/workqueue.c')
0 files changed, 0 insertions, 0 deletions