mirror of
https://github.com/torvalds/linux.git
synced 2024-11-23 12:42:02 +00:00
995071d36b
When allocated with [devm_]iio_trigger_alloc(), set trig device parent to the device the trigger is allocated for by default. It can always be reassigned in the probe routine. Change iio_trigger_alloc() API to add the device pointer to be coherent with devm_iio_trigger_alloc, using similar interface to iio_device_alloc(). Signed-off-by: Gwendal Grignou <gwendal@chromium.org> Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> Link: https://lore.kernel.org/r/20210309193620.2176163-2-gwendal@chromium.org Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> |
||
---|---|---|
.. | ||
iio-trig-hrtimer.c | ||
iio-trig-interrupt.c | ||
iio-trig-loop.c | ||
iio-trig-sysfs.c | ||
Kconfig | ||
Makefile | ||
stm32-lptimer-trigger.c | ||
stm32-timer-trigger.c |