diff options
author | Konrad Dybcio <konrad.dybcio@linaro.org> | 2023-06-24 14:23:47 +0200 |
---|---|---|
committer | Bjorn Andersson <andersson@kernel.org> | 2023-07-24 04:35:02 +0200 |
commit | 626237dbc9ff233cc51cc3313e5f41dfd79181bc (patch) | |
tree | ed50ff94bd02a445f95e739c78f21b0cc29f2fb6 | |
parent | firmware: qcom_scm: Always return devm_clk_get_optional errors (diff) | |
download | linux-626237dbc9ff233cc51cc3313e5f41dfd79181bc.tar.xz linux-626237dbc9ff233cc51cc3313e5f41dfd79181bc.zip |
firmware: qcom_scm: Drop useless compatibles
There are three categories of compatibles within the driver:
1. Ones which were introduced without a qcom,scm fallback
2. Ones which were introduced with a qcom,scm fallback
3. Ones which were defined but never used
Keep 1 for backwards compatibility and axe 2 & 3.
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/20230623-topic-scm_cleanup-v2-3-9db8c583138d@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
-rw-r--r-- | drivers/firmware/qcom_scm.c | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/drivers/firmware/qcom_scm.c b/drivers/firmware/qcom_scm.c index b8398002205d..b6055b1c18d8 100644 --- a/drivers/firmware/qcom_scm.c +++ b/drivers/firmware/qcom_scm.c @@ -1478,20 +1478,15 @@ static void qcom_scm_shutdown(struct platform_device *pdev) } static const struct of_device_id qcom_scm_dt_match[] = { + { .compatible = "qcom,scm" }, + + /* Legacy entries kept for backwards compatibility */ { .compatible = "qcom,scm-apq8064" }, { .compatible = "qcom,scm-apq8084" }, { .compatible = "qcom,scm-ipq4019" }, - { .compatible = "qcom,scm-mdm9607" }, - { .compatible = "qcom,scm-msm8660" }, - { .compatible = "qcom,scm-msm8960" }, - { .compatible = "qcom,scm-msm8916" }, { .compatible = "qcom,scm-msm8953" }, { .compatible = "qcom,scm-msm8974" }, - { .compatible = "qcom,scm-msm8976" }, - { .compatible = "qcom,scm-msm8994" }, { .compatible = "qcom,scm-msm8996" }, - { .compatible = "qcom,scm-sm6375" }, - { .compatible = "qcom,scm" }, {} }; MODULE_DEVICE_TABLE(of, qcom_scm_dt_match); |