Re: [PATCH 2/4] net: ti: icss-iep: constify struct regmap_config

From: MD Danish Anwar
Date: Fri Jul 05 2024 - 00:42:23 EST




On 04/07/24 3:16 am, Javier Carrasco wrote:
> `am654_icss_iep_regmap_config` is only assigned to a pointer that passes
> the data as read-only.
>
> Add the const modifier to the struct and pointer to move the data to a
> read-only section.
>
> Signed-off-by: Javier Carrasco <javier.carrasco.cruz@xxxxxxxxx>

Reviewed-by: MD Danish Anwar <danishanwar@xxxxxx>

--
Thanks and Regards,
Danish