]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net: qualcomm: rmnet: Switch to use hrtimer_setup()
authorNam Cao <namcao@linutronix.de>
Wed, 5 Feb 2025 10:43:35 +0000 (11:43 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 18 Feb 2025 09:35:46 +0000 (10:35 +0100)
commit3c85516612f8861cdfeefc300b7631f0d4797fbd
treeee5d1f51d2b5c97898dd737cdcf80d59a8305fd9
parent4781599491bd62d88c34bb1dd6ac17d5f452fa31
net: qualcomm: rmnet: 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/4312885d95fc99053b2c285f74cc83a852c03f4a.1738746872.git.namcao@linutronix.de
drivers/net/ethernet/qualcomm/rmnet/rmnet_map_data.c