ASoC: codecs: Constify regmap configuration static variables
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Wed, 28 May 2025 19:59:55 +0000 (21:59 +0200)
committerMark Brown <broonie@kernel.org>
Sun, 8 Jun 2025 22:30:30 +0000 (23:30 +0100)
commit0045b902ad27f2676c2a5b6444494a8287b80072
tree02081dbdf710e46ce8bbb780fba177e445a18556
parent19272b37aa4f83ca52bdf9c16d5d81bdd1354494
ASoC: codecs: Constify regmap configuration static variables

Static arrays/structs for regmap configuration like 'struct
reg_default', 'struct reg_sequence' and others are not modified so can
be changed to const for more safety.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Reviewed-by: Srinivas Kandagatla <srinivas.kandagatla@oss.qualcomm.com>
Link: https://patch.msgid.link/20250528-asoc-const-unused-v1-1-19a5d07b9d5c@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
18 files changed:
sound/soc/codecs/cs35l36.c
sound/soc/codecs/da7218.c
sound/soc/codecs/da7219.c
sound/soc/codecs/es8375.c
sound/soc/codecs/max98363.c
sound/soc/codecs/max98373-i2c.c
sound/soc/codecs/max98373-sdw.c
sound/soc/codecs/max98388.c
sound/soc/codecs/max98390.c
sound/soc/codecs/max98396.c
sound/soc/codecs/max98504.c
sound/soc/codecs/max98520.c
sound/soc/codecs/max98927.c
sound/soc/codecs/rt722-sdca-sdw.c
sound/soc/codecs/wcd938x.c
sound/soc/codecs/wsa881x.c
sound/soc/codecs/wsa883x.c
sound/soc/codecs/wsa884x.c