Re: [PATCH v2 next 4/5] iio: sca3000: manage device registration with devm helper

From: Harshit Mogalapalli

Date: Tue Feb 03 2026 - 07:30:39 EST


Hi David,

On 03/02/26 04:37, David Lechner wrote:
On 2/2/26 1:40 PM, Harshit Mogalapalli wrote:
Convert the iio registration to use devm_* helpers so the probe no
longer needs a separate cleanup path and remove callback can also drop
the unregister. After this there is no need for having a remove
callback, so remote it.

No functional change intended.

Suggested-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxx>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@xxxxxxxxxx>
---
Reviewed-by: David Lechner <dlechner@xxxxxxxxxxx>

While sending v3 with this RB tag added, I found that there is a missing r in baylibre in this and another patch.

I will wait for the comments on v3 first before fixing this.

Thanks,
Harshit