OSDN Git Service

phy: qcom-qmp-pcie: drop unused mode field
authorJohan Hovold <johan+linaro@kernel.org>
Tue, 20 Sep 2022 07:38:18 +0000 (09:38 +0200)
committerVinod Koul <vkoul@kernel.org>
Sat, 24 Sep 2022 05:29:57 +0000 (10:59 +0530)
Drop the unused mode field from struct qmp_phy.

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-10-johan+linaro@kernel.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/qualcomm/phy-qcom-qmp-pcie.c

index 666109a..65825ca 100644 (file)
@@ -1374,7 +1374,6 @@ struct qmp_phy_cfg {
  * @pipe_clk: pipe clock
  * @index: lane index
  * @qmp: QMP phy to which this lane belongs
- * @mode: current PHY mode
  */
 struct qmp_phy {
        struct phy *phy;
@@ -1389,7 +1388,6 @@ struct qmp_phy {
        struct clk *pipe_clk;
        unsigned int index;
        struct qcom_qmp *qmp;
-       enum phy_mode mode;
 };
 
 /**