iio: core: move @info_exist_lock to struct iio_dev_opaque
authorJonathan Cameron <Jonathan.Cameron@huawei.com>
Mon, 26 Apr 2021 17:49:08 +0000 (18:49 +0100)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Mon, 17 May 2021 12:49:13 +0000 (13:49 +0100)
commitb804e2b76ac6d5559b99588e0190ac97b5597497
tree96cf8d6f5c0d9fd065e5e5d8654937e8b2c673c6
parent62f4f36cdfcdbb961bbbeab15e6595dd391d2205
iio: core: move @info_exist_lock to struct iio_dev_opaque

This lock is only of interest to the IIO core, so make it only
visible there.

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