mirror of https://github.com/torvalds/linux.git
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: Jonathan Cameron <Jonathan.Cameron@huawei.com> Acked-by: Zack Rusin <zack.rusin@broadcom.com> Link: https://lore.kernel.org/all/570792e31b28a94a511c19c6789f2171a6745685.1738746904.git.namcao@linutronix.de |
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| iio-trig-hrtimer.c | ||
| iio-trig-interrupt.c | ||
| iio-trig-loop.c | ||
| iio-trig-sysfs.c | ||
| stm32-lptimer-trigger.c | ||
| stm32-timer-trigger.c | ||