diff options
author | Johan Hovold <johan+linaro@kernel.org> | 2022-11-14 12:06:00 +0100 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2022-11-24 22:46:50 +0530 |
commit | a173ee25a758927adc12664d1ec162a18324a4bd (patch) | |
tree | 8494b6b97f5c52fa15fa790e87783a6c3e968189 /drivers/phy | |
parent | c209b1b0e1e87e862099482e62a2f2d0bef8e989 (diff) | |
download | linux-stable-a173ee25a758927adc12664d1ec162a18324a4bd.tar.gz linux-stable-a173ee25a758927adc12664d1ec162a18324a4bd.tar.bz2 linux-stable-a173ee25a758927adc12664d1ec162a18324a4bd.zip |
phy: qcom-qmp-combo: sort device-id table
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>
Diffstat (limited to 'drivers/phy')
-rw-r--r-- | drivers/phy/qualcomm/phy-qcom-qmp-combo.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/phy/qualcomm/phy-qcom-qmp-combo.c b/drivers/phy/qualcomm/phy-qcom-qmp-combo.c index c7a926d548d8..d6a031bcfc30 100644 --- a/drivers/phy/qualcomm/phy-qcom-qmp-combo.c +++ b/drivers/phy/qualcomm/phy-qcom-qmp-combo.c @@ -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); |