iio: core: move @driver_module from struct iio_dev to struct iio_dev_opaque
authorJonathan Cameron <Jonathan.Cameron@huawei.com>
Mon, 26 Apr 2021 17:49:05 +0000 (18:49 +0100)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Mon, 17 May 2021 12:49:13 +0000 (13:49 +0100)
commit6eaf9f6a2738789dedb1e962096f61aaddd81464
tree6f2214e61e1a4da67e3abce636b8e76a6d1fc25b
parente5333ed09e0f8ece3cbb37912c17cf9880ee3fb0
iio: core: move @driver_module from struct iio_dev to struct iio_dev_opaque

Continuing move to hide internal elements from drivers, move this structure
element over.  It's only accessed from iio core files so this one was
straight forward and no accessor functions are needed.

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