Commit c89538d
committed
tracing/osnoise: Switch to use hrtimer_setup()
JIRA: https://issues.redhat.com/browse/RHEL-117873
commit 19fec9c
Author: Nam Cao <namcao@linutronix.de>
Date: Wed Feb 5 11:39:08 2025 +0100
tracing/osnoise: 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: Steven Rostedt (Google) <rostedt@goodmis.org>
Link: https://lore.kernel.org/all/ff8e6e11df5f928b2b97619ac847b4fa045376a1.1738746821.git.namcao@linutronix.de
Signed-off-by: Tomas Glozar <tglozar@redhat.com>1 parent 04ee8d1 commit c89538d
1 file changed
+2
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1884 | 1884 | | |
1885 | 1885 | | |
1886 | 1886 | | |
1887 | | - | |
1888 | | - | |
| 1887 | + | |
1889 | 1888 | | |
1890 | 1889 | | |
1891 | 1890 | | |
| |||
2440 | 2439 | | |
2441 | 2440 | | |
2442 | 2441 | | |
2443 | | - | |
2444 | | - | |
| 2442 | + | |
2445 | 2443 | | |
2446 | 2444 | | |
2447 | 2445 | | |
| |||
0 commit comments