diff options
author | Alexandru Ardelean <[email protected]> | 2021-08-23 14:22:01 +0300 |
---|---|---|
committer | Jonathan Cameron <[email protected]> | 2021-09-14 12:00:31 +0100 |
commit | 82bcb7fb649844a561ff1ac2e2ace4252bdff793 (patch) | |
tree | e94da76d2b426e95190d7c33cf49d8e13ece345f /lib/mpi/mpiutil.c | |
parent | 9f0b3e0cc0c88618aa9e5cecef747b1337ae0a5d (diff) |
iio: st_sensors: remove st_sensors_deallocate_trigger() function
This change converts the st_sensors_allocate_trigger() to use
device-managed functions.
The parent device of the IIO device object is used. This is based on the
assumption that all other devm_ calls in the ST sensors use this reference.
That makes the st_sensors_deallocate_trigger() function un-needed, so it
can be removed.
Reviewed-by: Andy Shevchenko <[email protected]>
Signed-off-by: Alexandru Ardelean <[email protected]>
Reviewed-by: Linus Walleij <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions