[PATCH v2 4/4] iio: adc: xilinx: use more devres helpers and remove remove()

Bartosz Golaszewski brgl at bgdev.pl
Mon Nov 9 05:52:23 EST 2020


On Sun, Nov 8, 2020 at 6:08 PM Jonathan Cameron <jic23 at kernel.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
>



More information about the linux-arm-kernel mailing list