Re: [RFC PATCH 04/12] iio: buffer: add index to the first IIO buffer dir and symlink it back

2020-11-21 Thread Jonathan Cameron
On Tue, 17 Nov 2020 18:23:32 +0200 Alexandru Ardelean wrote: > This change makes it so that the first buffer directory is named 'buffer0' > and moves the 'scan_elements' under it. > > For backwards compatibility these folders are symlinked back to the > original folders. Well done on your patch

[RFC PATCH 04/12] iio: buffer: add index to the first IIO buffer dir and symlink it back

2020-11-17 Thread Alexandru Ardelean
This change makes it so that the first buffer directory is named 'buffer0' and moves the 'scan_elements' under it. For backwards compatibility these folders are symlinked back to the original folders. Signed-off-by: Alexandru Ardelean --- drivers/iio/industrialio-buffer.c | 38 +