phy: qcom-qmp-combo: consolidate lane config
authorJohan Hovold <johan+linaro@kernel.org>
Tue, 20 Sep 2022 07:38:23 +0000 (09:38 +0200)
committerVinod Koul <vkoul@kernel.org>
Sat, 24 Sep 2022 05:29:57 +0000 (10:59 +0530)
commit099155615ac2ddb457bd8462038901c162e2cb96
tree1ce5e53ae4f08e7b5d78ee1e9852c3234ee72793
parent0d316ce5c0491410db8031a36d561f966995eea9
phy: qcom-qmp-combo: consolidate lane config

For legacy reasons, there are two configuration parameters that appear
to describe the number of lanes a PHY has, even if "nlanes" was actually
used for a different purpose.

Replace them both with a new field simply named "lanes".

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