diff options
author | Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> | 2023-01-18 13:15:42 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-01-25 15:38:44 +0300 |
commit | 3a14adc51605452fdf1c009cc3333c7e399821d9 (patch) | |
tree | a34c579f8e227593e343406210f578699e838587 /sound/soc/qcom | |
parent | b4090b7cda255daafe816a00f2848f4f8e761786 (diff) | |
download | linux-3a14adc51605452fdf1c009cc3333c7e399821d9.tar.xz |
ASoC: qcom: sdm845: add remark about unneeded compatibles
If all devices are the same or compatible, there is no single need to
keep growing of_device_id list with new entries.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20230118101542.96705-2-krzysztof.kozlowski@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/qcom')
-rw-r--r-- | sound/soc/qcom/sdm845.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/qcom/sdm845.c b/sound/soc/qcom/sdm845.c index d8d35563af00..02612af714a8 100644 --- a/sound/soc/qcom/sdm845.c +++ b/sound/soc/qcom/sdm845.c @@ -588,6 +588,7 @@ static int sdm845_snd_platform_probe(struct platform_device *pdev) static const struct of_device_id sdm845_snd_device_id[] = { { .compatible = "qcom,sdm845-sndcard" }, + /* Do not grow the list for compatible devices */ { .compatible = "qcom,db845c-sndcard" }, { .compatible = "lenovo,yoga-c630-sndcard" }, {}, |