Re: [PATCH] iio: adc: remove unused private data assigned with spi_set_drvdata()
From: Jonathan Cameron
Date: Wed Jun 09 2021 - 16:10:52 EST
On Thu, 13 May 2021 15:55:52 +0100
Jonathan Cameron <jic23@xxxxxxxxxx> wrote:
> On Thu, 13 May 2021 15:14:57 +0300
> Alexandru Ardelean <ardeleanalex@xxxxxxxxx> wrote:
>
> > On Thu, May 13, 2021 at 3:06 PM Alexandru Lazar <alazar@xxxxxxxxxxxxx> wrote:
> > >
> > >
> > > > Some drivers were copied from drivers that fit the criteria described
> > > > above. In any case, in order to prevent more drivers from being used as
> > > > example (and have spi_set_drvdata() needlessly set), this change removes it
> > > > from the IIO ADC group.
> > >
> > > Oh yeah, I'm pretty sure that's how I ended up adding it in the max1241
> > > code, too. Code monkey presents humble apologies :-).
> >
> > Well, I also added one in the AD9467 driver in the same manner.
> > So ¯\_(ツ)_/¯
> >
> All look correct to me. I'll let this sit on the list for a few days before
> picking it up.
Applied thanks.
>
> Thanks,
>
> Jonathan
>
> > >
> > > All the best,
> > > Alex
>