Skip to content

Commit 6900fdf

Browse files
lumagvinodkoul
authored andcommitted
phy: qualcomm: qmp-ufs: rename qmp_ufs_offsets_v5 to qmp_ufs_offsets
All currently known QMP UFS PHYs have the same offsets for register sub-regions. Instead of using qmp_ufs_offsets_v5 for older generations of PHYs, rename the offsets struct instance to remove _v5 suffix. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Link: https://lore.kernel.org/r/20230113195515.407866-1-dmitry.baryshkov@linaro.org Signed-off-by: Vinod Koul <vkoul@kernel.org>
1 parent 494de1d commit 6900fdf

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

drivers/phy/qualcomm/phy-qcom-qmp-ufs.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -717,7 +717,7 @@ static const char * const qmp_phy_vreg_l[] = {
717717
"vdda-phy", "vdda-pll",
718718
};
719719

720-
static const struct qmp_ufs_offsets qmp_ufs_offsets_v5 = {
720+
static const struct qmp_ufs_offsets qmp_ufs_offsets = {
721721
.serdes = 0,
722722
.pcs = 0xc00,
723723
.tx = 0x400,
@@ -752,7 +752,7 @@ static const struct qmp_phy_cfg msm8996_ufsphy_cfg = {
752752
static const struct qmp_phy_cfg sc8280xp_ufsphy_cfg = {
753753
.lanes = 2,
754754

755-
.offsets = &qmp_ufs_offsets_v5,
755+
.offsets = &qmp_ufs_offsets,
756756

757757
.tbls = {
758758
.serdes = sm8350_ufsphy_serdes,
@@ -812,7 +812,7 @@ static const struct qmp_phy_cfg sdm845_ufsphy_cfg = {
812812
static const struct qmp_phy_cfg sm6115_ufsphy_cfg = {
813813
.lanes = 1,
814814

815-
.offsets = &qmp_ufs_offsets_v5,
815+
.offsets = &qmp_ufs_offsets,
816816

817817
.tbls = {
818818
.serdes = sm6115_ufsphy_serdes,

0 commit comments

Comments
 (0)