iio: adc: ti-ads1015: make use of iio_get_masklength()
authorNuno Sa <nuno.sa@analog.com>
Fri, 26 Jul 2024 08:23:04 +0000 (10:23 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 3 Aug 2024 09:13:42 +0000 (10:13 +0100)
commit5149e03841faebdcb0762d25dcbe5910568d15ca
tree6ea4a24f4252ea97c8520b4bb95e9360b348c53c
parentb64fc881e4a5aaa56f9fbfa5f3d97e2a2fd13d93
iio: adc: ti-ads1015: 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/20240726-dev-iio-masklength-private3-v1-12-82913fc0fb87@analog.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/ti-ads1015.c