phy: qcom-qmp-combo: drop unused DP PHY mode op
authorJohan Hovold <johan+linaro@kernel.org>
Mon, 14 Nov 2022 11:06:04 +0000 (12:06 +0100)
committerVinod Koul <vkoul@kernel.org>
Thu, 24 Nov 2022 17:16:51 +0000 (22:46 +0530)
The set-mode operation is currently only used by the USB part of the
PHY so drop the corresponding callback from the DP PHY ops.

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

index 13800c2..cec4875 100644 (file)
@@ -2132,7 +2132,6 @@ static const struct phy_ops qmp_combo_dp_phy_ops = {
        .calibrate      = qcom_qmp_dp_phy_calibrate,
        .power_off      = qmp_combo_power_off,
        .exit           = qmp_combo_exit,
-       .set_mode       = qmp_combo_set_mode,
        .owner          = THIS_MODULE,
 };