ASoC: samsung: odroid: use of_property_present to check for property
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Thu, 10 Aug 2023 06:32:55 +0000 (08:32 +0200)
committerMark Brown <broonie@kernel.org>
Wed, 16 Aug 2023 13:47:16 +0000 (14:47 +0100)
commitebba2fd5adc2d79afa10c00255a60c79665c091a
treefc65829a66f40085b8c88aad99342df6d6013a29
parent631e9d4b1f3241008bc6f1c62ec0d19d745d02be
ASoC: samsung: odroid: use of_property_present to check for property

"samsung,audio-widgets" and "samsung,audio-routing" are not boolean
properties, thus more appropriate is to use of_property_present() to
check if they are present.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20230810063300.20151-7-krzysztof.kozlowski@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/samsung/odroid.c