linux/drivers/hwtracing/stm
Nam Cao c6be6eafd6 stm class: heartbeat: 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/c822671342e6ca0437b25f8e24935f09821e389f.1738746904.git.namcao@linutronix.de
2025-02-18 11:19:05 +01:00
..
console.c stm class: Add source type 2024-05-04 18:57:21 +02:00
core.c [tree-wide] finally take no_llseek out 2024-09-27 08:18:43 -07:00
dummy_stm.c
ftrace.c stm class: Add source type 2024-05-04 18:57:21 +02:00
heartbeat.c stm class: heartbeat: Switch to use hrtimer_setup() 2025-02-18 11:19:05 +01:00
Kconfig
Makefile
p_basic.c stm class: Propagate source type to protocols 2024-05-04 18:57:21 +02:00
p_sys-t.c stm class: sys-t: Improve ftrace source handling 2024-05-04 18:57:21 +02:00
policy.c
stm.h stm class: Propagate source type to protocols 2024-05-04 18:57:21 +02:00