]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ARM: 8611/1: l2x0: Switch to use hrtimer_setup()
authorNam Cao <namcao@linutronix.de>
Wed, 5 Feb 2025 10:38:53 +0000 (11:38 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 18 Feb 2025 09:32:31 +0000 (10:32 +0100)
commit878a388866a67cb8f2d12df24f256b4e6159dcb8
tree22b3f1bc184d5c7293813fa94a08baaac5d9b146
parent2f33de836402acc80c494ae56a5d74f5df5f4409
ARM: 8611/1: l2x0: 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>
Link: https://lore.kernel.org/all/5ca584b1e32c34630bb15ccc84467c1e05059e66.1738746821.git.namcao@linutronix.de
arch/arm/mm/cache-l2x0-pmu.c