regulator: hi6421: Constify static data
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Mon, 9 Sep 2024 13:51:17 +0000 (15:51 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 10 Sep 2024 11:44:07 +0000 (12:44 +0100)
commitb94afa51cad448d7d9bcb600ce267153132369ad
tree911c7714f2f3c8ea9a634c06dee2b4739a40c8fd
parentb3f1e8e32ef579907fe0c0c9c102bb13883454d6
regulator: hi6421: Constify static data

Driver does not modify static data with regulator description (struct
hi6421_regulator_info), 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-6-8934704a5787@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/hi6421-regulator.c