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

For legacy reasons, there are two configuration parameters that describe
the number of lanes a PHY has.

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