[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CA+U=DsrSjQa-iL5FHyiwXN=Hv72jd5b99tzcNoO97ckXgiuGzA@mail.gmail.com>
Date: Thu, 13 May 2021 15:14:57 +0300
From: Alexandru Ardelean <ardeleanalex@...il.com>
To: Alexandru Lazar <alazar@...rtmail.com>
Cc: linux-iio <linux-iio@...r.kernel.org>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] iio: adc: remove unused private data assigned with spi_set_drvdata()
On Thu, May 13, 2021 at 3:06 PM Alexandru Lazar <alazar@...rtmail.com> 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
Powered by blists - more mailing lists