]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
phy: qcom: qmp-combo: Rename 'mode' to 'phy_mode'
authorKonrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Thu, 7 Aug 2025 16:33:20 +0000 (18:33 +0200)
committerVinod Koul <vkoul@kernel.org>
Wed, 20 Aug 2025 16:49:08 +0000 (22:19 +0530)
commit5daf1bbc73e249075373e030e7221f46c175e04b
tree4f4b805629e064bed7af37b8e96593f184871804
parent3bad7fe22796a420c6e16b591c37ed1bd6cc2a30
phy: qcom: qmp-combo: Rename 'mode' to 'phy_mode'

There are a numbers of ""modes"" involved: USB mode, Type-C mode (with
its altmodes), phy_mode and QMP_PHY mode (DP/combo/USB/off).

Rename the generic sounding 'mode' to 'phy_mode' to hopefully make
the code easier to follow.

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Tested-by: Neil Armstrong <neil.armstrong@linaro.org> # on Lenovo Thinkpad T14S
Link: https://lore.kernel.org/r/20250807-topic-4ln_dp_respin-v4-2-43272d6eca92@oss.qualcomm.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/qualcomm/phy-qcom-qmp-combo.c