]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
phy: qcom: qmp: Fix lecacy-legacy typo
authorKonrad Dybcio <quic_kdybcio@quicinc.com>
Tue, 3 Sep 2024 11:13:10 +0000 (13:13 +0200)
committerVinod Koul <vkoul@kernel.org>
Mon, 21 Oct 2024 18:39:03 +0000 (00:09 +0530)
Introduced in Commit b3982f2144e1 ("phy: qcom-qmp-combo: restructure
PHY creation"). No functional changes.

Signed-off-by: Konrad Dybcio <quic_kdybcio@quicinc.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20240903-topic-qmp_typo-v1-1-781e81799992@quicinc.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/qualcomm/phy-qcom-qmp-combo.c

index a8adc3214bfe708257ceea1212ebd5c5e4d493c2..0198dc21ae56f2cd54afbf13ed850854168a02d8 100644 (file)
@@ -3483,7 +3483,7 @@ static int qmp_combo_typec_switch_register(struct qmp_combo *qmp)
 }
 #endif
 
-static int qmp_combo_parse_dt_lecacy_dp(struct qmp_combo *qmp, struct device_node *np)
+static int qmp_combo_parse_dt_legacy_dp(struct qmp_combo *qmp, struct device_node *np)
 {
        struct device *dev = qmp->dev;
 
@@ -3510,7 +3510,7 @@ static int qmp_combo_parse_dt_lecacy_dp(struct qmp_combo *qmp, struct device_nod
        return 0;
 }
 
-static int qmp_combo_parse_dt_lecacy_usb(struct qmp_combo *qmp, struct device_node *np)
+static int qmp_combo_parse_dt_legacy_usb(struct qmp_combo *qmp, struct device_node *np)
 {
        const struct qmp_phy_cfg *cfg = qmp->cfg;
        struct device *dev = qmp->dev;
@@ -3576,11 +3576,11 @@ static int qmp_combo_parse_dt_legacy(struct qmp_combo *qmp, struct device_node *
        if (IS_ERR(qmp->dp_serdes))
                return PTR_ERR(qmp->dp_serdes);
 
-       ret = qmp_combo_parse_dt_lecacy_usb(qmp, usb_np);
+       ret = qmp_combo_parse_dt_legacy_usb(qmp, usb_np);
        if (ret)
                return ret;
 
-       ret = qmp_combo_parse_dt_lecacy_dp(qmp, dp_np);
+       ret = qmp_combo_parse_dt_legacy_dp(qmp, dp_np);
        if (ret)
                return ret;