linux/drivers/ntb/test
Nam Cao abeebe8889 ntb: ntb_pingpong: 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>
Acked-by: Zack Rusin <zack.rusin@broadcom.com>
Link: https://lore.kernel.org/all/2b179e16ab830611fdcb09a33a5a531c9800679b.1738746904.git.namcao@linutronix.de
2025-02-18 11:19:04 +01:00
..
Kconfig
Makefile
ntb_msi_test.c
ntb_perf.c ntb_perf: Fix printk format 2024-09-20 10:50:38 -04:00
ntb_pingpong.c ntb: ntb_pingpong: Switch to use hrtimer_setup() 2025-02-18 11:19:04 +01:00
ntb_tool.c NTB: ntb_tool: Switch to memdup_user_nul() helper 2023-08-18 09:50:06 -04:00