]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ARM: imx: Switch to use hrtimer_setup()
authorNam Cao <namcao@linutronix.de>
Wed, 5 Feb 2025 10:38:52 +0000 (11:38 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 18 Feb 2025 09:32:31 +0000 (10:32 +0100)
commit2f33de836402acc80c494ae56a5d74f5df5f4409
tree3cfdecf7f9685faf3239db3aa2da086772ecb3d2
parent92051cb9d3e115533ff7c36ddae4e6888ac12869
ARM: imx: 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>
Link: https://lore.kernel.org/all/aff915511ee629b461fee98688b8e859075386ac.1738746821.git.namcao@linutronix.de
arch/arm/mach-imx/mmdc.c