]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
regulator: max77826: Constify static data
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Mon, 9 Sep 2024 13:51:21 +0000 (15:51 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 10 Sep 2024 11:44:11 +0000 (12:44 +0100)
commit96d7ee7cb01203ae0b6078631738754424d89cf8
tree5c64baba32d6c84c44b580fb0b2e8e268a321cf2
parent653976707d03f9c8e07f1c7733f27c89a1d5eb1c
regulator: max77826: 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-10-8934704a5787@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/max77826-regulator.c