[PATCH v2 00/12] Consolidate hrtimer initialization - Part 5

From: Nam Cao
Date: Wed Feb 05 2025 - 06:06:11 EST


All previous users of hrtimer_init() have been converted to use hrtimer_setup()
in the previous series:

https://lore.kernel.org/lkml/cover.1738746821.git.namcao@xxxxxxxxxxxxx
https://lore.kernel.org/lkml/cover.1738746872.git.namcao@xxxxxxxxxxxxx
https://lore.kernel.org/lkml/cover.1738746904.git.namcao@xxxxxxxxxxxxx


This series does the final cleanup:

- Delete hrtimer_init()
- Convert users who touch hrtimer::function to use hrtimer_update_function().
Make hrtimer::function private afterward.
- Rename the remaining *hrtimer_init*() to *hrtimer_setup*() to keep the
names consistent

v1 -> v2 https://lore.kernel.org/lkml/cover.1729865740.git.namcao@xxxxxxxxxxxxx
- rebaes onto v6.14-rc1
---
Cc: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
Cc: Jens Axboe <axboe@xxxxxxxxx>
Cc: Kalle Valo <kvalo@xxxxxxxxxx>
Cc: Steven Rostedt <rostedt@xxxxxxxxxxx>
---
Documentation/trace/ftrace.rst | 4 +-
.../net/wireless/ralink/rt2x00/rt2800mmio.c | 2 +-
.../net/wireless/ralink/rt2x00/rt2800usb.c | 2 +-
drivers/tty/serial/xilinx_uartps.c | 4 +-
include/linux/hrtimer.h | 4 +-
include/linux/hrtimer_types.h | 4 +-
include/trace/events/timer.h | 8 +--
io_uring/io_uring.c | 2 +-
kernel/time/hrtimer.c | 69 +++++--------------
kernel/time/timer_list.c | 2 +-
tools/perf/tests/shell/trace_btf_enum.sh | 2 +-
11 files changed, 35 insertions(+), 68 deletions(-)

--
2.39.5