]> www.infradead.org Git - users/jedix/linux-maple.git/commit
wifi: Switch to use hrtimer_setup()
authorNam Cao <namcao@linutronix.de>
Wed, 5 Feb 2025 10:43:40 +0000 (11:43 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 18 Feb 2025 09:35:47 +0000 (10:35 +0100)
commitcbe2691bee4e54024b9985ef78e740d9655d92f3
tree3ffecbbfaf7dbd65be8feddf89dfcb5500dfa14d
parentd1ba57528f44b3d3b270c9ecbf256fc6c88c748e
wifi: 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/71fbc442aee9a9e892e475f3bbf8f368c6692a55.1738746872.git.namcao@linutronix.de
drivers/net/wireless/mediatek/mt76/mt76x02_usb_core.c
drivers/net/wireless/virtual/mac80211_hwsim.c