Skip to content

Commit

Permalink
phy: qcom: qmp: Fix lecacy-legacy typo
Browse files Browse the repository at this point in the history
Introduced in Commit b3982f2 ("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>
  • Loading branch information
Konrad Dybcio authored and Vinod Koul committed Oct 21, 2024
1 parent c0a0a7a commit 32f4a76
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions drivers/phy/qualcomm/phy-qcom-qmp-combo.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand All @@ -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;
Expand Down Expand Up @@ -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;

Expand Down

0 comments on commit 32f4a76

Please sign in to comment.