diff options
author | Nam Cao <namcao@linutronix.de> | 2025-02-05 11:46:04 +0100 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2025-02-18 11:19:03 +0100 |
commit | d9a67240729dbfb097a1258484d8c8ae100769b1 (patch) | |
tree | e573c1be75af1bda4c07ce860938ca70318422ae /tools/perf/scripts/python/task-analyzer.py | |
parent | 5e55888e340a5209f8b3dba4d937c48c143719d1 (diff) |
powercap: 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: Rafael J. Wysocki <rafael@kernel.org>
Acked-by: Zack Rusin <zack.rusin@broadcom.com>
Link: https://lore.kernel.org/all/fffc5ecc232069d91817b519dcafd8985120e51c.1738746904.git.namcao@linutronix.de
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions