Re: [PATCH 3/6] iio: buffer-dma: Turn iio_dma_buffer_init() void

Andy Shevchenko
2025-12-03T16:34:58Z

On Wed, Dec 03, 2025 at 03:11:38PM +0000, Nuno Sá via B4 Relay wrote:

> iio_dma_buffer_init() always return 0. Therefore there's no point in
> returning int.

> While at it, fix a mismatch between the function declaration and definition
> regarding the struct device (dma_dev != dev).

So, all others use simple dev?

--
With Best Regards,
Andy Shevchenko