ASoC: codecs: wcd937x: Use simple defines for chipid register value
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Mon, 16 Jun 2025 11:54:08 +0000 (13:54 +0200)
committerMark Brown <broonie@kernel.org>
Sun, 22 Jun 2025 23:26:38 +0000 (00:26 +0100)
commit2f6ff1e615cd4f8a86c9d0e4e778db9ae44d5481
tree845918b4a2446c9137ef7a6744ca2fd341f1d60c
parent3421d46440ebe0865bec71dbd2330b4e17a425ab
ASoC: codecs: wcd937x: Use simple defines for chipid register value

The value used to identify chip variant is not an enumeration, but raw
value used to compare registers with.  The 'enum' is not used in the
code at all, so simplify and make it a raw hex value define, so
intention will be explicit.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://patch.msgid.link/20250616-asoc-wcd93xx-enum-v1-1-a20a1b538509@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/wcd937x.c