iio: core: move @scan_index_timestamp to struct iio_dev_opaque
authorJonathan Cameron <Jonathan.Cameron@huawei.com>
Mon, 26 Apr 2021 17:49:07 +0000 (18:49 +0100)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Mon, 17 May 2021 12:49:13 +0000 (13:49 +0100)
commit62f4f36cdfcdbb961bbbeab15e6595dd391d2205
tree8eec443e6130108b7c881cfcd25252d93c664f17
parent3028e0c2af95dd476ccd71f4fc025990385168c2
iio: core: move @scan_index_timestamp to struct iio_dev_opaque

No reason for this cached value to be exposed to drivers so move it
to the opaque structure.

Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: Alexandru Ardelean <ardeleanalex@gmail.com>
Link: https://lore.kernel.org/r/20210426174911.397061-6-jic23@kernel.org
drivers/iio/industrialio-buffer.c
include/linux/iio/iio-opaque.h
include/linux/iio/iio.h