iio: core: move event interface on the opaque struct
authorAlexandru Ardelean <alexandru.ardelean@analog.com>
Tue, 30 Jun 2020 04:57:08 +0000 (07:57 +0300)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Tue, 7 Jul 2020 19:24:07 +0000 (20:24 +0100)
commitfa83c3baa539a7ec734c7ee65fad499122f427d7
treecd3af97af709440b17ea93b0a21e0be1cec56f23
parent6a8c6b26f7531a85803380911c7c4a05a639afbe
iio: core: move event interface on the opaque struct

Same as with other private fields, this moves the event interface reference
to the opaque IIO device object, to be invisible to drivers.

Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/industrialio-core.c
drivers/iio/industrialio-event.c
include/linux/iio/iio-opaque.h
include/linux/iio/iio.h