linux/drivers/iio/trigger
Nam Cao c69da1735f iio: 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: 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
2025-02-18 11:19:05 +01:00
..
Kconfig iio: trigger: stm32-timer: Make use of device properties 2022-02-18 11:35:49 +00:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
iio-trig-hrtimer.c iio: Switch to use hrtimer_setup() 2025-02-18 11:19:05 +01:00
iio-trig-interrupt.c iio: Switch back to struct platform_driver::remove() 2024-10-10 19:31:50 +01:00
iio-trig-loop.c iio: Rename iio_trigger_poll_chained and add kernel-doc 2023-03-11 12:18:29 +00:00
iio-trig-sysfs.c 1st set of IIO new device support, feature and cleanup for 6.2 (take2) 2022-11-25 18:35:16 +01:00
stm32-lptimer-trigger.c iio: trigger: stm32-lptimer-trigger: remove unneeded platform_set_drvdata() 2023-08-05 19:29:39 +01:00
stm32-timer-trigger.c iio: trigger: stm32-timer: add support for stm32mp25 2024-12-28 14:28:14 +00:00