[PATCH v2 3/6] iio: adc: ad4695: use IIO_DECLARE_BUFFER_WITH_TS

Andy Shevchenko andy.shevchenko at gmail.com
Tue Apr 22 15:34:46 PDT 2025


On Wed, Apr 23, 2025 at 1:08 AM David Lechner <dlechner at baylibre.com> wrote:
>
> Use IIO_DECLARE_BUFFER_WITH_TS to declare the buffer that gets used with

I would use the IIO_DECLARE_BUFFER_WITH_TS() form since it's a macro
with parameters.

> iio_push_to_buffers_with_ts(). This makes the code a bit easier to read
> and understand.

-- 
With Best Regards,
Andy Shevchenko



More information about the linux-arm-kernel mailing list