Re: [PATCH v3 4/5] iio: st_sensors: remove all driver remove functions

From: Linus Walleij
Date: Fri Aug 27 2021 - 18:33:36 EST


On Mon, Aug 23, 2021 at 1:22 PM Alexandru Ardelean
<aardelean@xxxxxxxxxxx> wrote:

> At this point all ST driver remove functions do iio_device_unregister().
> This change removes them from them and replaces all iio_device_register()
> with devm_iio_device_register().
>
> This can be done in a single change relatively easy, since all these remove
> functions are define in st_sensors.h.
>
> Reviewed-by: Andy Shevchenko <andy.shevchenko@xxxxxxxxx>
> Signed-off-by: Alexandru Ardelean <aardelean@xxxxxxxxxxx>

Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx>

Yours,
Linus Walleij