iio: amplifiers: ad8366: make ad8366_info const
authorDavid Lechner <dlechner@baylibre.com>
Sat, 28 Jun 2025 17:01:29 +0000 (12:01 -0500)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 6 Jul 2025 09:37:52 +0000 (10:37 +0100)
commit9d531de209fd3d355dab8201fe2c47cfc465ecf0
treeb3edda84e399483754942d01d381ca8567bb9976
parent0084ccd7dcd7b7ceb201ead59ff27525f61540c3
iio: amplifiers: ad8366: make ad8366_info const

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@baylibre.com>
Link: https://patch.msgid.link/20250628-iio-const-data-12-v1-1-88029e48a26b@baylibre.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/amplifiers/ad8366.c