diff options
author | Nam Cao <namcao@linutronix.de> | 2025-02-05 11:46:06 +0100 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2025-02-18 11:19:04 +0100 |
commit | 563608c20403ebee8a5d4d4bda7c0ba75485acba (patch) | |
tree | bfd1170d674d9322656061bd55af8679021c7837 /tools/perf/scripts/python/task-analyzer.py | |
parent | 1b73fd14cfb47710e99f2119ec19c770e5881928 (diff) |
power: reset: ltc2952-poweroff: 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>
Acked-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Link: https://lore.kernel.org/all/75ef5206f52f194b9c51653628cd2d0b083a482f.1738746904.git.namcao@linutronix.de
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions