phy: qcom-qmp-usb: consolidate lane config
authorJohan Hovold <johan+linaro@kernel.org>
Tue, 20 Sep 2022 07:38:25 +0000 (09:38 +0200)
committerVinod Koul <vkoul@kernel.org>
Sat, 24 Sep 2022 05:29:57 +0000 (10:59 +0530)
commita73a19ea382830cf27c49b9dda5aefe84c442a08
treea3d494aabde96e0b744f6a47737c28128c17bcb5
parent07d386bf6d50a8a0e8e430a97c5efad616385fb0
phy: qcom-qmp-usb: 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-17-johan+linaro@kernel.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/qualcomm/phy-qcom-qmp-usb.c