]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
regulator: hi6421v600: Constify static data
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Mon, 9 Sep 2024 13:51:18 +0000 (15:51 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 10 Sep 2024 11:44:08 +0000 (12:44 +0100)
commit5ec424afc95ab2490ae28b3e7756e6e9b271a5f0
treea242ef33276bfa01d59c2d5b361721ff41e1b1de
parentb94afa51cad448d7d9bcb600ce267153132369ad
regulator: hi6421v600: Constify static data

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