diff options
author | Nam Cao <namcao@linutronix.de> | 2025-02-05 11:46:05 +0100 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2025-02-18 11:19:04 +0100 |
commit | 1b73fd14cfb47710e99f2119ec19c770e5881928 (patch) | |
tree | 2fd3fadf2e7e43567259ffcc72c94000db40553a /tools/perf/scripts/python/task-analyzer.py | |
parent | d9a67240729dbfb097a1258484d8c8ae100769b1 (diff) |
power: supply: ab8500_chargalg: 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>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Zack Rusin <zack.rusin@broadcom.com>
Acked-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Link: https://lore.kernel.org/all/fa0bf7376ce8f124c8285a52d9f55d0ab4c42988.1738746904.git.namcao@linutronix.de
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions