iio: adc: ti-ads1119: make use of iio_get_masklength()
authorNuno Sa <nuno.sa@analog.com>
Fri, 26 Jul 2024 08:23:05 +0000 (10:23 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 3 Aug 2024 09:13:42 +0000 (10:13 +0100)
commit68a48321b4409d0e4b91d560d921c26cd7aacb74
treecb111b70ad915a7c26560787b8310563d8cea732
parent5149e03841faebdcb0762d25dcbe5910568d15ca
iio: adc: ti-ads1119: 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>
Reviewed-by: João Paulo Gonçalves <jpaulo.silvagoncalves@gmail.com>
Link: https://patch.msgid.link/20240726-dev-iio-masklength-private3-v1-13-82913fc0fb87@analog.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/ti-ads1119.c