iio: magnetometer: rm3100-core: make use of iio_get_masklength()
authorNuno Sa <nuno.sa@analog.com>
Thu, 18 Jul 2024 13:38:04 +0000 (15:38 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 3 Aug 2024 09:13:41 +0000 (10:13 +0100)
commit130bdf8293c6b22b3ad1fdbfbd2da70f756de51f
treef24210bf7970dba251de87f28cc41c5e1aa60eb1
parent0718d52bb082770421ec9094e45178d219658376
iio: magnetometer: rm3100-core: make use of iio_get_masklength()

Use iio_get_masklength() 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-18-8e12cd042906@analog.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/magnetometer/rm3100-core.c