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

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