Re: [PATCH v2 06/12] iio: buffer: re-route scan_elements via it's kobj_type

2021-01-22 Thread Alexandru Ardelean
On Fri, Jan 22, 2021 at 5:57 PM Alexandru Ardelean wrote: > > The scan_elements attributes are solely located inside > 'industrialio-buffer-sysfs.c'. In order to support more than one buffer per > IIO device, we need to expand scan_elements attributes directly to IIO > buffer object, and not the

[PATCH v2 06/12] iio: buffer: re-route scan_elements via it's kobj_type

2021-01-22 Thread Alexandru Ardelean
The scan_elements attributes are solely located inside 'industrialio-buffer-sysfs.c'. In order to support more than one buffer per IIO device, we need to expand scan_elements attributes directly to IIO buffer object, and not the IIO device. This also requires that a new 'iio_buffer_attr' type be