]> www.infradead.org Git - users/jedix/linux-maple.git/commit
Input: Switch to use hrtimer_setup()
authorNam Cao <namcao@linutronix.de>
Wed, 5 Feb 2025 10:46:14 +0000 (11:46 +0100)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 5 Feb 2025 15:29:41 +0000 (07:29 -0800)
commita7550ff59edfc768a8600c1e5c24c304208696a5
treee5cb6bebad2ec69c247aa7ca03adf8bc0c3e1b90
parentab4976976ee117ed53b752bac83453e6f64dad08
Input: 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: Zack Rusin <zack.rusin@broadcom.com>
Signed-off-by: Nam Cao <namcao@linutronix.de>
Link: https://lore.kernel.org/r/62db561622799dfc8d58682ca41b54e3f1ff6949.1738746904.git.namcao@linutronix.de
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/joystick/walkera0701.c
drivers/input/keyboard/gpio_keys.c