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
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