Skip to content

Commit 626237d

Browse files
konradybcioandersson
authored andcommitted
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>
1 parent ae76fd3 commit 626237d

1 file changed

Lines changed: 3 additions & 8 deletions

File tree

drivers/firmware/qcom_scm.c

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1478,20 +1478,15 @@ static void qcom_scm_shutdown(struct platform_device *pdev)
14781478
}
14791479

14801480
static const struct of_device_id qcom_scm_dt_match[] = {
1481+
{ .compatible = "qcom,scm" },
1482+
1483+
/* Legacy entries kept for backwards compatibility */
14811484
{ .compatible = "qcom,scm-apq8064" },
14821485
{ .compatible = "qcom,scm-apq8084" },
14831486
{ .compatible = "qcom,scm-ipq4019" },
1484-
{ .compatible = "qcom,scm-mdm9607" },
1485-
{ .compatible = "qcom,scm-msm8660" },
1486-
{ .compatible = "qcom,scm-msm8960" },
1487-
{ .compatible = "qcom,scm-msm8916" },
14881487
{ .compatible = "qcom,scm-msm8953" },
14891488
{ .compatible = "qcom,scm-msm8974" },
1490-
{ .compatible = "qcom,scm-msm8976" },
1491-
{ .compatible = "qcom,scm-msm8994" },
14921489
{ .compatible = "qcom,scm-msm8996" },
1493-
{ .compatible = "qcom,scm-sm6375" },
1494-
{ .compatible = "qcom,scm" },
14951490
{}
14961491
};
14971492
MODULE_DEVICE_TABLE(of, qcom_scm_dt_match);

0 commit comments

Comments
 (0)