]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net: wwan: iosm: Switch to use hrtimer_setup()
authorNam Cao <namcao@linutronix.de>
Wed, 5 Feb 2025 10:43:38 +0000 (11:43 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 18 Feb 2025 09:35:46 +0000 (10:35 +0100)
commitd4bcc73352e467533b077e9253cbe68892adf6a1
tree7453ba88d3051d5f5f3cef721b9dcc9a8cb343d3
parente193660f5e7feabc461142a96c3237d7618dfeb3
net: wwan: iosm: 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/e42d7d29879017d4b5ca9555f806e782658e3f21.1738746872.git.namcao@linutronix.de
drivers/net/wwan/iosm/iosm_ipc_imem.c