]> git.ipfire.org Git - thirdparty/linux.git/commit
mfd: palmas: Constify strings with regulator names
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Mon, 9 Sep 2024 13:49:41 +0000 (15:49 +0200)
committerLee Jones <lee@kernel.org>
Wed, 16 Oct 2024 08:04:09 +0000 (09:04 +0100)
commit719258c55f7e9c123ef2a0941c6730b6d43c1bc2
treed7d6c924706b42361b1499f3e1fafd030596d864
parentb7cb398d7b9a643ba86e1a51f3b8d9571d17747f
mfd: palmas: Constify strings with regulator names

The names of regulators are static const strings, so pointers can be made
as pointers to const for code safety.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20240909134941.121847-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Lee Jones <lee@kernel.org>
include/linux/mfd/palmas.h