On Thu, 18 Jul 2024 15:37:50 +0200 Nuno Sa via B4 Relay <devnull+nuno.sa.analog.com@xxxxxxxxxx> wrote: > From: Nuno Sa <nuno.sa@xxxxxxxxxx> > > Use iio_for_each_active_channel() to iterate over active channels > accessing '.masklength' so it can be annotated as __private when there are > no more direct users of it. Even without the __private bit the new code is nicer! > > Signed-off-by: Nuno Sa <nuno.sa@xxxxxxxxxx> Applied.