hrtimers: Switch to use __htimer_setup()
authorNam Cao <namcao@linutronix.de>
Wed, 5 Feb 2025 10:55:11 +0000 (11:55 +0100)
committerIngo Molnar <mingo@kernel.org>
Sat, 5 Apr 2025 08:30:17 +0000 (10:30 +0200)
commit50177a8b2ec756a03f635444538da928dc5ac488
tree235e4aa60da9c0097b4f82b1d06cfb34c6c284e9
parent9779489a31d77a7b9cb6f20d2d2caced4e29dbe6
hrtimers: Switch to use __htimer_setup()

__hrtimer_init_sleeper() calls __hrtimer_init() and also sets up the
callback function. But there is already __hrtimer_setup() which does both
actions.

Switch to use __hrtimer_setup() to simplify the code.

Signed-off-by: Nam Cao <namcao@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/all/d9a45a51b6a8aa0045310d63f73753bf6b33f385.1738746927.git.namcao@linutronix.de
kernel/time/hrtimer.c