diff options
author | Nam Cao <namcao@linutronix.de> | 2025-02-05 11:46:17 +0100 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2025-02-18 11:19:05 +0100 |
commit | c6be6eafd6200327d6c7952275c042785dccbb96 (patch) | |
tree | 19ea0011a2a1b0817932c0a2f527919fb61835f2 /tools/perf/scripts/python | |
parent | f1061c1442c1eddd71a25fe86516ee346ff4b7aa (diff) |
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
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions