[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAMRc=Mfx1dpOc+jAV=-aeuP_EB5ZiSH9UzWW+qhJPcuZ+LCfrQ@mail.gmail.com>
Date: Mon, 9 Nov 2020 11:52:23 +0100
From: Bartosz Golaszewski <brgl@...ev.pl>
To: Jonathan Cameron <jic23@...nel.org>
Cc: Lars-Peter Clausen <lars@...afoo.de>,
Peter Meerwald-Stadler <pmeerw@...erw.net>,
Michal Simek <michal.simek@...inx.com>,
linux-iio <linux-iio@...r.kernel.org>,
Linux ARM <linux-arm-kernel@...ts.infradead.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Bartosz Golaszewski <bgolaszewski@...libre.com>
Subject: Re: [PATCH v2 4/4] iio: adc: xilinx: use more devres helpers and
remove remove()
On Sun, Nov 8, 2020 at 6:08 PM Jonathan Cameron <jic23@...nel.org> wrote:
>
[snip]
>
> I haven't checked carefully, but it looks like you don't need
> this any more as there are no remaining calls to
> platform_get_drvdata().
>
This looks to be correct.
There's a call to iio_trigger_get_drvdata() and it accesses the same
drvdata but it's called on the trigger device and there's a
corresponding call to iio_trigger_set_drvdata() for it.
>
> I can clean that up whilst applying as long as you confirm
> I'm right!
>
Yes please do, thanks!
Bartosz
> Thanks,
>
> Jonathan
>
Powered by blists - more mailing lists