diff options
| author | Gwendal Grignou <[email protected]> | 2021-03-09 11:36:13 -0800 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2021-03-25 19:13:50 +0000 |
| commit | 995071d36bb9804b644265450142fcb91c427ee8 (patch) | |
| tree | ebe33a3eebf243584b57f7e584b874e6815112d8 /tools/perf/scripts/python/bin | |
| parent | 7b8d045e497a04dd88546da51f34fa3b102778d2 (diff) | |
iio: set default trig->dev.parent
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 <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions