iio: adc: at91_adc: use const char * for DT string property

Declare the local variable as const char * and remove the unnecessary cast
when passing it to of_property_read_string().

Signed-off-by: Amin GATTOUT <amin.gattout@gmail.com>
Reviewed-by: David Lechner <dlechner@baylibre.com>
Signed-off-by: Jonathan Cameron <jonathan.cameron@oss.qualcomm.com>
This commit is contained in:
Amin GATTOUT 2026-07-22 21:39:32 +02:00 • committed by Jonathan Cameron
commit 9e66792003