]> www.infradead.org Git - users/willy/xarray.git/commit
regulator: qcom-refgen: Constify static data
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Mon, 9 Sep 2024 13:51:25 +0000 (15:51 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 10 Sep 2024 11:44:15 +0000 (12:44 +0100)
commit7eb5d065ec6725d7da9a4f7ba71b6ff4aaf7eb42
tree75cda24e94ecd167eeda9b440ef0f7de56d8e087
parent6f4fd2b8a5c08656d293ed491335747ff3d34104
regulator: qcom-refgen: Constify static data

Driver does not modify static data with regulator description (struct
regulator_desc), so make it const for code safety.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://patch.msgid.link/20240909-regulator-const-v1-14-8934704a5787@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/qcom-refgen-regulator.c