Thread (11 messages) 11 messages, 3 authors, 2021-08-29

Re: [PATCH v3 2/5] iio: st_sensors: remove st_sensors_deallocate_trigger() function

From: Linus Walleij <hidden>
Date: 2021-08-27 22:29:46
Also in: lkml

On Mon, Aug 23, 2021 at 1:22 PM Alexandru Ardelean
[off-list ref] wrote:
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 <redacted>
Signed-off-by: Alexandru Ardelean <redacted>
Nice!
Reviewed-by: Linus Walleij <redacted>

Yours,
Linus Walleij
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help