diff options
author | Nam Cao <namcao@linutronix.de> | 2025-02-05 11:46:16 +0100 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2025-02-18 11:19:05 +0100 |
commit | f1061c1442c1eddd71a25fe86516ee346ff4b7aa (patch) | |
tree | 526ca2fc92a35333407b7d3a3fdd1b3acbb53aa4 /tools/perf/scripts/python/gecko.py | |
parent | c69da1735f19d93c63fef5d38d9ff3b1c56587da (diff) |
i2c: 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/6a0d31244560b76cc7e76954bf68dbe14a4761e3.1738746904.git.namcao@linutronix.de
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions