phy: qcom-qmp-combo: sort device-id table
authorJohan Hovold <johan+linaro@kernel.org>
Mon, 14 Nov 2022 11:06:00 +0000 (12:06 +0100)
committerVinod Koul <vkoul@kernel.org>
Thu, 24 Nov 2022 17:16:50 +0000 (22:46 +0530)
Sort the device-id table by compatible string to make it easier to find
and add new entries.

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Link: https://lore.kernel.org/r/20221114110621.4639-2-johan+linaro@kernel.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/qualcomm/phy-qcom-qmp-combo.c

index c7a926d..d6a031b 100644 (file)
@@ -2652,14 +2652,6 @@ static const struct of_device_id qmp_combo_of_match_table[] = {
                .data = &sc7180_usb3dpphy_cfg,
        },
        {
-               .compatible = "qcom,sdm845-qmp-usb3-dp-phy",
-               .data = &sdm845_usb3dpphy_cfg,
-       },
-       {
-               .compatible = "qcom,sm8250-qmp-usb3-dp-phy",
-               .data = &sm8250_usb3dpphy_cfg,
-       },
-       {
                .compatible = "qcom,sc8180x-qmp-usb3-dp-phy",
                .data = &sc8180x_usb3dpphy_cfg,
        },
@@ -2667,6 +2659,14 @@ static const struct of_device_id qmp_combo_of_match_table[] = {
                .compatible = "qcom,sc8280xp-qmp-usb43dp-phy",
                .data = &sc8280xp_usb43dpphy_combo_cfg,
        },
+       {
+               .compatible = "qcom,sdm845-qmp-usb3-dp-phy",
+               .data = &sdm845_usb3dpphy_cfg,
+       },
+       {
+               .compatible = "qcom,sm8250-qmp-usb3-dp-phy",
+               .data = &sm8250_usb3dpphy_cfg,
+       },
        { }
 };
 MODULE_DEVICE_TABLE(of, qmp_combo_of_match_table);