diff options
author | Nam Cao <namcao@linutronix.de> | 2025-02-05 11:46:27 +0100 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2025-02-18 11:19:06 +0100 |
commit | 397c07a3c90b18f09caa6ec4e00597f47319fbee (patch) | |
tree | 961ece1da8183a674f8f1ae47c625456d508249b /rust/helpers/workqueue.c | |
parent | c38e753abee274318a52ba53f99446a1b912ceea (diff) |
drm/xe/oa: 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: Lucas De Marchi <lucas.demarchi@intel.com>
Acked-by: Zack Rusin <zack.rusin@broadcom.com>
Link: https://lore.kernel.org/all/08238e193b1f63ae7d5d607fa975420735a869a5.1738746904.git.namcao@linutronix.de
Diffstat (limited to 'rust/helpers/workqueue.c')
0 files changed, 0 insertions, 0 deletions