From patchwork Fri Jun 3 02:04:07 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chanho Park X-Patchwork-Id: 12868455 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 275B1C43334 for ; Fri, 3 Jun 2022 02:06:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:References:MIME-Version:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=CrsM+yJC9Oi4hzIRCeMo8OhNJtbhaiD5r153lcyZKf0=; b=G0BwZSEQyTHFPR WiAhpbXJOWFyFo8ch1FAjzBwVxPWhgby2lZ0gml81Y6UNbOC4ng6my/88VyjZ79iZU7E1rDXIEyeR fbFIe/vKhfBp9XzlZ7ESG9qKGUYd389XvtbGjtWNB8zQneC5GeG5yHepiBPtCppfM40qoPtRQaoiZ RCH3sw40J3qrvP5d+XAelcYKDqkzUl6FtT0U9/3MzfFVFtB89uRcZKtjPTKWX9iMbXGUR00jGc73T 9B31FY9JLpO7tgsJc6pkMMnPdQi+lctbO/OGbgY9SMvrqWDsQWgeqRKyh/3+Z6GlrWvhMaxmLoPAF R3e/JP5eTDUGbAdu/ilw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nwwgT-005RUM-7m; Fri, 03 Jun 2022 02:05:05 +0000 Received: from mailout4.samsung.com ([203.254.224.34]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nwwfv-005RJS-A2 for linux-arm-kernel@lists.infradead.org; Fri, 03 Jun 2022 02:04:36 +0000 Received: from epcas2p4.samsung.com (unknown [182.195.41.56]) by mailout4.samsung.com (KnoxPortal) with ESMTP id 20220603020428epoutp047b6ab4b7bf90a40d74a9dca66b7c4354~0_gZfRE592247422474epoutp04c for ; Fri, 3 Jun 2022 02:04:28 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout4.samsung.com 20220603020428epoutp047b6ab4b7bf90a40d74a9dca66b7c4354~0_gZfRE592247422474epoutp04c DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1654221868; bh=9MqgwAf/KbNyp8sEkjfydslwVuQS/C9wRyn0+i9iZbM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Ks9SAFWkjxtGKUxC2MnvOAR+pGhfVsdAyOSFx4YyzT3SK6bHNGQn/sAfvAUb8CgbP Rjr8dm2paSVRdQJCs71gHspMY9GZYIalC7hwY21ZlQQW0koFq+cta78xOt0EzcNRbS 1ifCqxvJGcLn5FCQ2JZCtgkErsH2xioztLVMwldY= Received: from epsnrtp4.localdomain (unknown [182.195.42.165]) by epcas2p3.samsung.com (KnoxPortal) with ESMTP id 20220603020427epcas2p36ce32bf06567d5b49111a86d14b41c2c~0_gZAy4_l1599315993epcas2p3k; Fri, 3 Jun 2022 02:04:27 +0000 (GMT) Received: from epsmges2p2.samsung.com (unknown [182.195.36.99]) by epsnrtp4.localdomain (Postfix) with ESMTP id 4LDmQz10TDz4x9QB; Fri, 3 Jun 2022 02:04:27 +0000 (GMT) Received: from epcas2p2.samsung.com ( [182.195.41.54]) by epsmges2p2.samsung.com (Symantec Messaging Gateway) with SMTP id 41.F9.09764.A2C69926; Fri, 3 Jun 2022 11:04:26 +0900 (KST) Received: from epsmtrp1.samsung.com (unknown [182.195.40.13]) by epcas2p4.samsung.com (KnoxPortal) with ESMTPA id 20220603020426epcas2p484be447d93da1c015415fb2847f659a7~0_gXmjLHp2242022420epcas2p46; Fri, 3 Jun 2022 02:04:26 +0000 (GMT) Received: from epsmgms1p2.samsung.com (unknown [182.195.42.42]) by epsmtrp1.samsung.com (KnoxPortal) with ESMTP id 20220603020426epsmtrp1275cef4f6bdb213646363e4e271f6122~0_gXlbrqI1338013380epsmtrp1g; Fri, 3 Jun 2022 02:04:26 +0000 (GMT) X-AuditID: b6c32a46-f8bff70000002624-a2-62996c2af850 Received: from epsmtip1.samsung.com ( [182.195.34.30]) by epsmgms1p2.samsung.com (Symantec Messaging Gateway) with SMTP id 63.FF.08924.A2C69926; Fri, 3 Jun 2022 11:04:26 +0900 (KST) Received: from localhost.localdomain (unknown [10.229.9.51]) by epsmtip1.samsung.com (KnoxPortal) with ESMTPA id 20220603020426epsmtip1890dba263334fddc2d6eaa22a0691b05~0_gXYMxQ82850828508epsmtip1n; Fri, 3 Jun 2022 02:04:26 +0000 (GMT) From: Chanho Park To: Kishon Vijay Abraham I , Vinod Koul , Krzysztof Kozlowski , Alim Akhtar , Rob Herring , Krzysztof Kozlowski Cc: devicetree@vger.kernel.org, linux-phy@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Chanho Park Subject: [PATCH v3 2/5] phy: samsung: ufs: rename cfg to cfgs for clarification Date: Fri, 3 Jun 2022 11:04:07 +0900 Message-Id: <20220603020410.2976-3-chanho61.park@samsung.com> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220603020410.2976-1-chanho61.park@samsung.com> MIME-Version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrIJsWRmVeSWpSXmKPExsWy7bCmma5Wzswkg2evbCwezNvGZnF5v7bF /CPnWC0uPO1hs+h78ZDZYu/rrewWmx5fY7WYsOobi8WM8/uYLF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PRUIu5qDgRAF0758rzAgAA X-CMS-MailID: 20220603020426epcas2p484be447d93da1c015415fb2847f659a7 X-Msg-Generator: CA X-Sendblock-Type: AUTO_CONFIDENTIAL CMS-TYPE: 102P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20220603020426epcas2p484be447d93da1c015415fb2847f659a7 References: <20220603020410.2976-1-chanho61.park@samsung.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220602_190431_947538_C1491212 X-CRM114-Status: GOOD ( 20.18 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Rename **cfg to **cfgs to clarify the naming. Signed-off-by: Chanho Park Reviewed-by: Krzysztof Kozlowski --- drivers/phy/samsung/phy-exynos7-ufs.c | 2 +- drivers/phy/samsung/phy-exynosautov9-ufs.c | 2 +- drivers/phy/samsung/phy-samsung-ufs.c | 4 ++-- drivers/phy/samsung/phy-samsung-ufs.h | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/phy/samsung/phy-exynos7-ufs.c b/drivers/phy/samsung/phy-exynos7-ufs.c index 7c9008e163db..d1e9d0ae5c1d 100644 --- a/drivers/phy/samsung/phy-exynos7-ufs.c +++ b/drivers/phy/samsung/phy-exynos7-ufs.c @@ -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, diff --git a/drivers/phy/samsung/phy-exynosautov9-ufs.c b/drivers/phy/samsung/phy-exynosautov9-ufs.c index d043dfdb598a..fa4d2983eec6 100644 --- a/drivers/phy/samsung/phy-exynosautov9-ufs.c +++ b/drivers/phy/samsung/phy-exynosautov9-ufs.c @@ -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, diff --git a/drivers/phy/samsung/phy-samsung-ufs.c b/drivers/phy/samsung/phy-samsung-ufs.c index 602ddef259eb..ed272631e8aa 100644 --- a/drivers/phy/samsung/phy-samsung-ufs.c +++ b/drivers/phy/samsung/phy-samsung-ufs.c @@ -75,7 +75,7 @@ static int samsung_ufs_phy_wait_for_lock_acq(struct phy *phy) 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; diff --git a/drivers/phy/samsung/phy-samsung-ufs.h b/drivers/phy/samsung/phy-samsung-ufs.h index 91a0e9f94f98..1788b356cf56 100644 --- a/drivers/phy/samsung/phy-samsung-ufs.h +++ b/drivers/phy/samsung/phy-samsung-ufs.h @@ -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;