On Tue, Apr 22, 2025 at 01:34:47PM +0200, Jorge Marques wrote: > The iio_dev struct is never modified inside the method, mark it as > const. > This allows to be called from get_current_scan_type, and is useful > when the scan_type depends on the buffer state. Assuming it compiles and works, Reviewed-by: Andy Shevchenko <andy@xxxxxxxxxx> -- With Best Regards, Andy Shevchenko