]> www.infradead.org Git - users/jedix/linux-maple.git/commit
iio: adc: xilinx-xadc-core: use new '.masklength' accessors
authorNuno Sa <nuno.sa@analog.com>
Fri, 26 Jul 2024 08:23:12 +0000 (10:23 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 3 Aug 2024 09:13:43 +0000 (10:13 +0100)
commite7fb17a3d2e06291bc9b020a663834f961ea4a38
treee282c38d4d442d9e74fa9d823212e67e408cff50
parentbc76efb602c0f203c7ac9e339b32b969e87fa6f9
iio: adc: xilinx-xadc-core: use new '.masklength' accessors

Make use of iio_get_masklength) and iio_for_each_active_channel() to
access '.masklength' so it can be annotated as __private when there
are no more direct users of it.

Signed-off-by: Nuno Sa <nuno.sa@analog.com>
Link: https://patch.msgid.link/20240726-dev-iio-masklength-private3-v1-20-82913fc0fb87@analog.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/xilinx-xadc-core.c