iio: adc: stm32-adc: make stm32_adc_trig_info const
authorDavid Lechner <dlechner@baylibre.com>
Sat, 28 Jun 2025 16:39:33 +0000 (11:39 -0500)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 6 Jul 2025 09:37:52 +0000 (10:37 +0100)
commit0084ccd7dcd7b7ceb201ead59ff27525f61540c3
treedf1fae5ec40ded03fa4e534398a7be6c18a57092
parent89b971055a3ed507f6e3485513913c6f36df07fd
iio: adc: stm32-adc: make stm32_adc_trig_info const

Add const qualifier to struct stm32_adc_trig_info. 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-10-v1-1-0ba93ac792c8@baylibre.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/stm32-adc.c