phy: qcom-qmp-pcie-msm8996: drop unused type from config
authorJohan Hovold <johan+linaro@kernel.org>
Tue, 20 Sep 2022 07:38:11 +0000 (09:38 +0200)
committerVinod Koul <vkoul@kernel.org>
Sat, 24 Sep 2022 05:29:56 +0000 (10:59 +0530)
The configuration PHY type is no longer used since the QMP driver split
so drop it from the configuration.

Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://lore.kernel.org/r/20220920073826.20811-3-johan+linaro@kernel.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/qualcomm/phy-qcom-qmp-pcie-msm8996.c

index 245f6dc1710e17c146394a9909cb2c49a8f1a258..20a76b1b23a2e68310a0e6490b079e6851890970 100644 (file)
@@ -188,8 +188,6 @@ struct qmp_phy;
 
 /* struct qmp_phy_cfg - per-PHY initialization config */
 struct qmp_phy_cfg {
-       /* phy-type - PCIE/UFS/USB */
-       unsigned int type;
        /* number of lanes provided by phy */
        int nlanes;
 
@@ -323,7 +321,6 @@ static const char * const qmp_phy_vreg_l[] = {
 };
 
 static const struct qmp_phy_cfg msm8996_pciephy_cfg = {
-       .type                   = PHY_TYPE_PCIE,
        .nlanes                 = 3,
 
        .serdes_tbl             = msm8996_pcie_serdes_tbl,