iio: imu: bno055: make use of iio_get_masklength()
authorNuno Sa <nuno.sa@analog.com>
Thu, 18 Jul 2024 13:37:56 +0000 (15:37 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 3 Aug 2024 09:13:40 +0000 (10:13 +0100)
commiteec662e3742bac6c9d93f271853dbb415bea7e15
tree335f6aaf7a71bce9d7e12d48ca5e91658992022e
parent39a1e2f38ea4b475277c72735a85c324c81cafd8
iio: imu: bno055: 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-10-8e12cd042906@analog.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/imu/bno055/bno055.c