Re: [PATCH] iio: adc: ad7091r8: make ad7091r_init_info const

From: Jonathan Cameron
Date: Sun Jun 29 2025 - 12:50:59 EST


On Sat, 28 Jun 2025 11:09:25 -0500
David Lechner <dlechner@xxxxxxxxxxxx> wrote:

> Add const qualifier to struct ad7091r_init_info ad7091r*_init_info. This
> is read-only data so it can be made const.
>
> Signed-off-by: David Lechner <dlechner@xxxxxxxxxxxx>
Applied to the testing branch of iio.git. Time available for feedback
but it seem simple enough and the compiler should scream if wrong!

Thanks,

J