]> www.infradead.org Git - users/jedix/linux-maple.git/commit
iio: adc: stm32-adc: make use of iio_get_masklength()
authorNuno Sa <nuno.sa@analog.com>
Fri, 26 Jul 2024 08:23:00 +0000 (10:23 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 3 Aug 2024 09:13:42 +0000 (10:13 +0100)
commit07b1088762de12d7d5109a21513f6677bafe567c
tree437dbf0507b2635b19e6e5ebbb58518e9075225e
parenta4b99bff9234d68a472fe42a268ab9b5eb8e9a0a
iio: adc: stm32-adc: 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-8-82913fc0fb87@analog.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/stm32-adc.c