Re: [PATCH] iio: adc: at91-sama5d2_adc: merge buffer & trigger init into a function

2020-09-26 Thread Jonathan Cameron
On Thu, 24 Sep 2020 13:29:02 +0300 Alexandru Ardelean wrote: > This change is mostly cosmetic, but it's also a pre-cursor to the > the change for 'iio_buffer_set_attrs()', where the helper gets updated to > better support multiple IIO buffers for 1 IIO device. > > The only functional change is

[PATCH] iio: adc: at91-sama5d2_adc: merge buffer & trigger init into a function

2020-09-24 Thread Alexandru Ardelean
This change is mostly cosmetic, but it's also a pre-cursor to the the change for 'iio_buffer_set_attrs()', where the helper gets updated to better support multiple IIO buffers for 1 IIO device. The only functional change is that the error message for the trigger alloc failure is bound to the