Commit 70e90680 authored by Nam Cao's avatar Nam Cao Committed by Takashi Iwai
Browse files

ALSA: 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.

Acked-by: default avatarZack Rusin <zack.rusin@broadcom.com>
Signed-off-by: default avatarNam Cao <namcao@linutronix.de>
Cc: Takashi Iwai <tiwai@suse.com>
Link: https://patch.msgid.link/598031332ce738c82286a158cb66eb7e735b2e79.1738746904.git.namcao@linutronix.de


Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent d7e2447a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment