Re: [PATCH] iio: adc: remove unused private data assigned with spi_set_drvdata()

From: Alexandru Ardelean
Date: Thu May 13 2021 - 08:15:55 EST


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 the best,
> Alex