[PATCH 0/3] iio: cleanup masklength usage
David Lechner
dlechner at baylibre.com
Thu Apr 25 08:03:26 PDT 2024
While working on other patches I noticed that a few drivers are setting
the masklength field of struct iio_dev even though it is marked as
[INTERN]. It looks like maybe this was not always the case, but we can
safely clean it up now without breaking anything.
---
David Lechner (3):
iio: adc: ad7266: don't set masklength
iio: adc: mxs-lradc-adc: don't set masklength
iio: buffer: initialize masklength accumulator to 0
drivers/iio/adc/ad7266.c | 1 -
drivers/iio/adc/mxs-lradc-adc.c | 1 -
drivers/iio/industrialio-buffer.c | 2 +-
3 files changed, 1 insertion(+), 3 deletions(-)
---
base-commit: b80ad8e3cd2712b78b98804d1f59199680d8ed91
change-id: 20240425-b4-iio-masklength-cleanup-86b632b19901
More information about the linux-arm-kernel
mailing list