]> www.infradead.org Git - users/hch/misc.git/commit
treewide: Convert new and leftover hrtimer_init() users
authorThomas Gleixner <tglx@linutronix.de>
Fri, 4 Apr 2025 17:31:15 +0000 (19:31 +0200)
committerIngo Molnar <mingo@kernel.org>
Sat, 5 Apr 2025 08:30:17 +0000 (10:30 +0200)
commit48ad7bbfd53af0d3fe6490a4dd30c169db6f12aa
tree4e96b28692afc86808e24dd9d6d3131844fff988
parent8fa7292fee5c5240402371ea89ab285ec856c916
treewide: Convert new and leftover hrtimer_init() users

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.

Coccinelle scripted cleanup.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
drivers/input/joystick/walkera0701.c
drivers/input/keyboard/gpio_keys.c
drivers/net/netdevsim/netdev.c
drivers/pps/generators/pps_gen_tio.c