Hi Jonathan, Here it goes the second round about annotating .masklength as __private. Again, only compile tested for arm with allyesconfig. --- Nuno Sa (22): iio: adc: cc10001_adc: make use of iio_for_each_active_channel() iio: adc: dln2-adc: use new '.masklength' accessors iio: adc: hx711: make use of iio_for_each_active_channel() iio: dummy: iio_simple_dummy_buffer: use iio_for_each_active_channel() iio: health: afe4403: make use of iio_for_each_active_channel() iio: health: max30102: make use of iio_get_masklength() iio: health: afe4404: make use of iio_for_each_active_channel() iio: humidity: am2315: make use of iio_for_each_active_channel() iio: imu: bmi160_core: make use of iio_for_each_active_channel() iio: imu: bno055: make use of iio_get_masklength() iio: imu: kmx61: make use of iio_for_each_active_channel() iio: light: adjd_s311: make use of iio_for_each_active_channel() iio: light: gp2ap020a00f: make use of iio_for_each_active_channel() iio: light: isl29125: make use of iio_for_each_active_channel() iio: light: si1145: use new '.masklength' accessors iio: light: tcs3414: make use of iio_for_each_active_channel() iio: light: tcs3472: make use of iio_for_each_active_channel() iio: magnetometer: rm3100-core: make use of iio_get_masklength() iio: pressure: dlhl60d: make use of iio_for_each_active_channel() iio: proximity: hx9023s: make use of iio_for_each_active_channel() iio: proximity: sx9500: make use of iio_for_each_active_channel() iio: proximity: sx_common: make use of iio_for_each_active_channel() drivers/iio/adc/cc10001_adc.c | 4 +--- drivers/iio/adc/dln2-adc.c | 8 +++----- drivers/iio/adc/hx711.c | 5 +---- drivers/iio/dummy/iio_simple_dummy_buffer.c | 2 +- drivers/iio/health/afe4403.c | 3 +-- drivers/iio/health/afe4404.c | 3 +-- drivers/iio/health/max30102.c | 2 +- drivers/iio/humidity/am2315.c | 3 +-- drivers/iio/imu/bmi160/bmi160_core.c | 3 +-- drivers/iio/imu/bno055/bno055.c | 2 +- drivers/iio/imu/kmx61.c | 3 +-- drivers/iio/light/adjd_s311.c | 3 +-- drivers/iio/light/gp2ap020a00f.c | 9 +++------ drivers/iio/light/isl29125.c | 3 +-- drivers/iio/light/si1145.c | 7 +++---- drivers/iio/light/tcs3414.c | 3 +-- drivers/iio/light/tcs3472.c | 3 +-- drivers/iio/magnetometer/rm3100-core.c | 2 +- drivers/iio/pressure/dlhl60d.c | 3 +-- drivers/iio/proximity/hx9023s.c | 4 ++-- drivers/iio/proximity/sx9500.c | 3 +-- drivers/iio/proximity/sx_common.c | 6 ++---- 22 files changed, 30 insertions(+), 54 deletions(-) --- base-commit: 986da024b99a72e64f6bdb3f3f0e52af024b1f50 change-id: 20240711-dev-iio-masklength-private2-cd8d93f07781 -- Thanks! - Nuno Sá