Re: [PATCH v2 0/4] iio: introduce devm_ API for hid sensro setup and cleanup
From: Andy Shevchenko
Date: Wed Apr 29 2026 - 15:35:37 EST
On Wed, Apr 29, 2026 at 11:29:14PM +0530, Sanjay Chitroda wrote:
> Key highlights:
> - Prepare change as pre-requisite for devm conversion for HID IIO
> drivers by removing redundant argument
> - Add devm API to setup trigger and clenaup resource using
> devm_add_action_or_reset()
> - few sample driver update using devm conversion to auto release resource
> Based on further feedback and reviews, I would extend this series to convert
> all HID IIO driver to use devm_* API.
Not sure about this. But if people (and HID sensors maintainers in particular)
are fine with this, I have no objections. There are some nit-picks and one
serious problem to address, though.
--
With Best Regards,
Andy Shevchenko