Re: [PATCH v4] iio: light: ltr390: Add device powerdown functionality via devm api

From: Jonathan Cameron
Date: Sat Aug 16 2025 - 08:57:42 EST


On Thu, 14 Aug 2025 09:15:43 +0530
Akshay Jindal <akshayaj.lkd@xxxxxxxxx> wrote:

> Use devm_add_action_or_reset() to do cleanup when the device is removed.
>
> Signed-off-by: Akshay Jindal <akshayaj.lkd@xxxxxxxxx>
LGTM and I think you've addressed Andy's remaining feedback.

Applied to the togreg branch of iio.git and pushed out for testing.

Thanks,

Jonathan