[PATCH 1/2] clk: qcom: Constify qcom_cc_driver_data
Vladimir Zapolskiy
vladimir.zapolskiy at linaro.org
Tue Mar 31 03:43:52 PDT 2026
On 3/31/26 12:17, Krzysztof Kozlowski wrote:
> The static 'struct qcom_cc_driver_data' contains probe match-like data
> and is not modified: neither by the driver defining it nor by common.c
> code using it.
>
> Make it const for code safety and code readability.
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski at oss.qualcomm.com>
Reviewed-by: Vladimir Zapolskiy <vladimir.zapolskiy at linaro.org>
--
Best wishes,
Vladimir
More information about the linux-arm-kernel
mailing list