]> www.infradead.org Git - users/jedix/linux-maple.git/commit
iio: adc: dln2-adc: use new '.masklength' accessors
authorNuno Sa <nuno.sa@analog.com>
Thu, 18 Jul 2024 13:37:48 +0000 (15:37 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 3 Aug 2024 09:13:39 +0000 (10:13 +0100)
commitb59776720fa9cf234920eb4bdf9b9c9fc1492293
tree5e47cbe185133fe421419f0461533c1f2af4594d
parent6d4e5ffb3c4b58b2764f800c0b99b999f1829fba
iio: adc: dln2-adc: 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/20240718-dev-iio-masklength-private2-v1-2-8e12cd042906@analog.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/dln2-adc.c