phy: samsung: ufs: rename cfg to cfgs for clarification
authorChanho Park <chanho61.park@samsung.com>
Tue, 7 Jun 2022 07:29:04 +0000 (16:29 +0900)
committerVinod Koul <vkoul@kernel.org>
Wed, 8 Jun 2022 16:21:32 +0000 (21:51 +0530)
Rename **cfg to **cfgs to clarify the naming.

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Chanho Park <chanho61.park@samsung.com>
Reviewed-by: Alim Akhtar <alim.akhtar@samsung.com>
Link: https://lore.kernel.org/r/20220607072907.127000-3-chanho61.park@samsung.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/samsung/phy-exynos7-ufs.c
drivers/phy/samsung/phy-exynosautov9-ufs.c
drivers/phy/samsung/phy-samsung-ufs.c
drivers/phy/samsung/phy-samsung-ufs.h

index 7c9008e163dbefc8265181266300fa139882a075..d1e9d0ae5c1dd6876889558f3941cbeaea07ce86 100644 (file)
@@ -67,7 +67,7 @@ static const struct samsung_ufs_phy_cfg *exynos7_ufs_phy_cfgs[CFG_TAG_MAX] = {
 };
 
 const struct samsung_ufs_phy_drvdata exynos7_ufs_phy = {
-       .cfg = exynos7_ufs_phy_cfgs,
+       .cfgs = exynos7_ufs_phy_cfgs,
        .isol = {
                .offset = EXYNOS7_EMBEDDED_COMBO_PHY_CTRL,
                .mask = EXYNOS7_EMBEDDED_COMBO_PHY_CTRL_MASK,
index 36398a15c2db7961be9cc0986cea860d5af4f924..0a71224df1923c4f63a08adb21eae70f462ec94e 100644 (file)
@@ -57,7 +57,7 @@ static const struct samsung_ufs_phy_cfg *exynosautov9_ufs_phy_cfgs[CFG_TAG_MAX]
 };
 
 const struct samsung_ufs_phy_drvdata exynosautov9_ufs_phy = {
-       .cfg = exynosautov9_ufs_phy_cfgs,
+       .cfgs = exynosautov9_ufs_phy_cfgs,
        .isol = {
                .offset = EXYNOSAUTOV9_EMBEDDED_COMBO_PHY_CTRL,
                .mask = EXYNOSAUTOV9_EMBEDDED_COMBO_PHY_CTRL_MASK,
index 602ddef259eb471be0eac7104080dc0df63a7cdd..ed272631e8aa782b0895dd642be49e19c7a0c16e 100644 (file)
@@ -75,7 +75,7 @@ out:
 static int samsung_ufs_phy_calibrate(struct phy *phy)
 {
        struct samsung_ufs_phy *ufs_phy = get_samsung_ufs_phy(phy);
-       struct samsung_ufs_phy_cfg **cfgs = ufs_phy->cfg;
+       struct samsung_ufs_phy_cfg **cfgs = ufs_phy->cfgs;
        const struct samsung_ufs_phy_cfg *cfg;
        int err = 0;
        int i;
@@ -327,7 +327,7 @@ static int samsung_ufs_phy_probe(struct platform_device *pdev)
        drvdata = match->data;
        phy->dev = dev;
        phy->drvdata = drvdata;
-       phy->cfg = (struct samsung_ufs_phy_cfg **)drvdata->cfg;
+       phy->cfgs = (struct samsung_ufs_phy_cfg **)drvdata->cfgs;
        phy->isol = &drvdata->isol;
        phy->lane_cnt = PHY_DEF_LANE_CNT;
 
index 91a0e9f94f98b9a7ea972b0722597f79450729ff..1788b356cf5609c9ea672a6f9c050f9130fd6729 100644 (file)
@@ -102,7 +102,7 @@ struct samsung_ufs_phy_cfg {
 };
 
 struct samsung_ufs_phy_drvdata {
-       const struct samsung_ufs_phy_cfg **cfg;
+       const struct samsung_ufs_phy_cfg **cfgs;
        struct pmu_isol {
                u32 offset;
                u32 mask;
@@ -121,7 +121,7 @@ struct samsung_ufs_phy {
        struct clk *rx0_symbol_clk;
        struct clk *rx1_symbol_clk;
        const struct samsung_ufs_phy_drvdata *drvdata;
-       struct samsung_ufs_phy_cfg **cfg;
+       struct samsung_ufs_phy_cfg **cfgs;
        const struct pmu_isol *isol;
        u8 lane_cnt;
        int ufs_phy_state;