Re: [PATCH] iio: amplifiers: ad8366: make ad8366_info const

From: David Lechner
Date: Sat Jun 28 2025 - 13:05:17 EST


On 6/28/25 12:01 PM, David Lechner wrote:
> Add const qualifier to struct ad8366_info ad8366_infos[]. This
> is read-only data so it can be made const.
>
> Signed-off-by: David Lechner <dlechner@xxxxxxxxxxxx>
> ---
> I looked into dropping use of the chip info array in this one, but
> removing it isn't trivial. There are several switch statements that
> are using the chip ID still. So we'll save that for another day.
> ---
> drivers/iio/amplifiers/ad8366.c | 6 +++---

Replying with the correct subject. I missed updating the prefix
from a copied commit message.

Should be `iio: amplifiers: ad8366:`

> 1 file changed, 3 insertions(+), 3 deletions(-)
>