]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/msm: Switch to use hrtimer_setup()
authorNam Cao <namcao@linutronix.de>
Wed, 5 Feb 2025 10:46:25 +0000 (11:46 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 18 Feb 2025 10:19:06 +0000 (11:19 +0100)
commit58ac3c93306ec588a6dbb8d3e02ac1109b32df6b
treef7e165ff36e993ba43f509e61241c6fda12efd9c
parent1a2ff5c3058d3811b092736cbbd3ae09ea308dd2
drm/msm: 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/2689e1ad4105f415ce8cd9e426873d9ac479dc36.1738746904.git.namcao@linutronix.de
drivers/gpu/drm/msm/msm_fence.c
drivers/gpu/drm/msm/msm_io_utils.c