]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
iio: core: move channel list & group to private iio device object
authorAlexandru Ardelean <alexandru.ardelean@analog.com>
Tue, 30 Jun 2020 04:57:06 +0000 (07:57 +0300)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Tue, 7 Jul 2020 19:24:06 +0000 (20:24 +0100)
commit207c2d27a010c0154691833960756b60816fe59d
tree5093d48e65910cb386013b3eb7ddc45a15490cbb
parent96fb1b67422ed652e3217a140cf9be505041db07
iio: core: move channel list & group to private iio device object

This change bit straightforward and simple, since the
'channel_attr_list' & 'chan_attr_group' fields are only used in
'industrialio-core.c'.

This change moves to the private IIO device object

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