]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/i915/request: Switch to use hrtimer_setup()
authorNam Cao <namcao@linutronix.de>
Wed, 5 Feb 2025 10:46:24 +0000 (11:46 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 18 Feb 2025 10:19:06 +0000 (11:19 +0100)
commit1a2ff5c3058d3811b092736cbbd3ae09ea308dd2
treec9012ec21e2b758ec50d69fa0abec6eefa11eee7
parentf97e1d787f9f57fc78227bad348d092c1d7a1ee9
drm/i915/request: 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>
Acked-by: Jani Nikula <jani.nikula@intel.com>
Link: https://lore.kernel.org/all/4fe658e6d8483e44d4fff579bc426e627487f6ca.1738746904.git.namcao@linutronix.de
drivers/gpu/drm/i915/i915_request.c