[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <871eafac-f643-410b-b201-681551075a2c@baylibre.com>
Date: Sat, 28 Jun 2025 12:05:03 -0500
From: David Lechner <dlechner@...libre.com>
To: Lars-Peter Clausen <lars@...afoo.de>,
Michael Hennerich <Michael.Hennerich@...log.com>,
Jonathan Cameron <jic23@...nel.org>, Nuno Sá
<nuno.sa@...log.com>, Andy Shevchenko <andy@...nel.org>
Cc: linux-iio@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] iio: amplifiers: ad8366: make ad8366_info const
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@...libre.com>
> ---
> 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(-)
>
Powered by blists - more mailing lists