]> 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)
commit88a8ef894ac489314065a24504f62a1248486203
treecd3af97af709440b17ea93b0a21e0be1cec56f23
parentfddcf8f69523e4f187fc7fbaf10486fd7d765336
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