Nam Cao c92697913f rtc: class: 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>
Acked-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Link: https://lore.kernel.org/all/22f3f087ddbab1708583033c07c3b7fb17810110.1738746904.git.namcao@linutronix.de
2025-02-18 11:19:03 +01:00
..
2024-09-27 08:18:43 -07:00
2025-01-13 23:07:18 +01:00
2024-01-18 01:00:21 +01:00
2023-10-15 23:01:08 +02:00
2024-08-28 21:54:51 +01:00
2024-11-11 11:47:58 +01:00
2025-01-29 00:42:29 +01:00
2024-11-11 22:13:39 +01:00
2024-05-07 23:40:10 +02:00
2024-11-25 23:32:50 +01:00
2024-09-12 00:33:24 +02:00