Re: [PATCH v4 10/17] iio: adc: ad7768-1: Move buffer allocation to a separate function

From: Jonathan Cameron
Date: Sat Mar 08 2025 - 08:34:07 EST


On Thu, 6 Mar 2025 18:02:46 -0300
Jonathan Santos <Jonathan.Santos@xxxxxxxxxx> wrote:

> From: Sergiu Cuciurean <sergiu.cuciurean@xxxxxxxxxx>
>
> This change moves the buffer allocation in a separate function, making
> space for adding another type of iio buffer if needed.

Moving the trigger allocation etc as well. I'd mention that.
Otherwise this looks fine.

>
> Reviewed-by: David Lechner <dlechner@xxxxxxxxxxxx>
> Signed-off-by: Sergiu Cuciurean <sergiu.cuciurean@xxxxxxxxxx>
> Signed-off-by: Jonathan Santos <Jonathan.Santos@xxxxxxxxxx>