[PATCH v4 05/16] iio: adc: at91-sama5d2_adc: remove unnecessary casts in of_device_id
Eugen Hristev
ehristev at kernel.org
Sun Aug 2 23:04:34 PDT 2026
On 7/27/26 15:26, Varshini Rajendran wrote:
> The .data field in struct of_device_id is 'const void *', so explicit
> casts are unnecessary when assigning addresses of const structs.
>
> Signed-off-by: Varshini Rajendran <varshini.rajendran at microchip.com>
Reviewed-by: Eugen Hristev <ehristev at kernel.org>
More information about the linux-arm-kernel
mailing list