Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Dmitry Baryshkov and committed by
Vinod Koul
6900fdf4 494de1dd

+3 -3
+3 -3
drivers/phy/qualcomm/phy-qcom-qmp-ufs.c
··· 717 717 "vdda-phy", "vdda-pll", 718 718 }; 719 719 720 - static const struct qmp_ufs_offsets qmp_ufs_offsets_v5 = { 720 + static const struct qmp_ufs_offsets qmp_ufs_offsets = { 721 721 .serdes = 0, 722 722 .pcs = 0xc00, 723 723 .tx = 0x400, ··· 752 752 static const struct qmp_phy_cfg sc8280xp_ufsphy_cfg = { 753 753 .lanes = 2, 754 754 755 - .offsets = &qmp_ufs_offsets_v5, 755 + .offsets = &qmp_ufs_offsets, 756 756 757 757 .tbls = { 758 758 .serdes = sm8350_ufsphy_serdes, ··· 812 812 static const struct qmp_phy_cfg sm6115_ufsphy_cfg = { 813 813 .lanes = 1, 814 814 815 - .offsets = &qmp_ufs_offsets_v5, 815 + .offsets = &qmp_ufs_offsets, 816 816 817 817 .tbls = { 818 818 .serdes = sm6115_ufsphy_serdes,