Re: [PATCH v3 4/5] iio: st_sensors: remove all driver remove functions
From: Linus Walleij <hidden>
Date: 2021-08-27 22:33:37
Also in:
lkml
From: Linus Walleij <hidden>
Date: 2021-08-27 22:33:37
Also in:
lkml
On Mon, Aug 23, 2021 at 1:22 PM Alexandru Ardelean [off-list ref] 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 <redacted> Signed-off-by: Alexandru Ardelean <redacted>
Reviewed-by: Linus Walleij <redacted> Yours, Linus Walleij