Re: [PATCH] iio: adc: rn5t618-adc: use devm_iio_map_array_register() function
From: Andreas Kemnade
Date: Mon Sep 27 2021 - 16:08:40 EST
On Sun, 26 Sep 2021 19:28:59 +0300
Alexandru Ardelean <aardelean@xxxxxxxxxxx> wrote:
> This driver already hooks a similar unwind callback via
> devm_add_action_or_reset().
>
> They pretty much do the same thing, so this change converts it to the
> devm_iio_map_array_register().
>
> Signed-off-by: Alexandru Ardelean <aardelean@xxxxxxxxxxx>
> ---
> drivers/iio/adc/rn5t618-adc.c | 13 +------------
> 1 file changed, 1 insertion(+), 12 deletions(-)
yes, looks sane, the patches it depens on are not in linux-next yet.
But it seems that they are accepted, so:
Reviewed-by: Andreas Kemnade <andreas@xxxxxxxxxxxx>