]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit230034d739b0b57aa73669f4bd4cbec4d122d3b5
treecd3af97af709440b17ea93b0a21e0be1cec56f23
parentc1fcecae9d364a8ea532865aed58c33798498f2f
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