iio: core: move @flags from struct iio_dev to struct iio_dev_opaque

No reason any driver should ever need access to this field, so hide it.

Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: Alexandru Ardelean <ardeleanalex@gmail.com>
Link: https://lore.kernel.org/r/20210426174911.397061-9-jic23@kernel.org
This commit is contained in:
Jonathan Cameron 2021-04-26 18:49:10 +01:00
commit 8b1c82cb84
3 changed files with 5 additions and 5 deletions