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