Skip to content
Snippets Groups Projects
Commit e5003b60 authored by Nuno Sa's avatar Nuno Sa Committed by Jonathan Cameron
Browse files

iio: accel: msa311: make use of iio_for_each_active_channel()


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.

Signed-off-by: default avatarNuno Sa <nuno.sa@analog.com>
Reviewed-by: default avatarAlexandru Ardelean <aardelean@baylibre.com>
Link: https://patch.msgid.link/20240702-dev-iio-masklength-private-v1-10-98193bf536a6@analog.com


Signed-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
parent c7d289eb
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment