]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ASoC: fsl: imx-pcm-fiq: Switch to use hrtimer_setup()
authorNam Cao <namcao@linutronix.de>
Wed, 5 Feb 2025 10:46:32 +0000 (11:46 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 18 Feb 2025 10:19:07 +0000 (11:19 +0100)
commitce68de08a2cc95dc2cb6018a22673beed52f25c3
tree7ed4538fa3f08e05f1e7765a72f8a13a938077cd
parentbbdafde7c22018a4a84db98b11eb8f8ab26d7731
ASoC: fsl: imx-pcm-fiq: 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/ed4be9ec380a688291e3fc9b24f8c38a3f07a143.1738746904.git.namcao@linutronix.de
sound/soc/fsl/imx-pcm-fiq.c