Re: [PATCH] iio: adc: rn5t618-adc: use devm_iio_map_array_register() function
From: Jonathan Cameron
Date: Thu Sep 30 2021 - 12:11:43 EST
On Mon, 27 Sep 2021 22:08:34 +0200
Andreas Kemnade <andreas@xxxxxxxxxxxx> wrote:
> 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.
I was waiting for 0-day confirmation which for some reason has gone astray
(not problems reported either). Ah well - I'll assume it's fine and
risk next breakage.
> But it seems that they are accepted, so:
>
> Reviewed-by: Andreas Kemnade <andreas@xxxxxxxxxxxx>
Thanks and applied to the togreg branch of iio.git, pushed out as testing to
see if 0-day notices this time.
Thanks,
Jonathan