[PATCH] iio: adc: stm32-adc: make stm32_adc_trig_info const

Jonathan Cameron jic23 at kernel.org
Sun Jun 29 10:00:15 PDT 2025


On Sat, 28 Jun 2025 11:39:33 -0500
David Lechner <dlechner at baylibre.com> wrote:

> 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 at baylibre.com>
Seems to be in the 'obviously correct' category so I've applied it to the testing
branch of iio.git.  Thanks

Jonathan



More information about the linux-arm-kernel mailing list