clk: imx: Rename the imx_clk_pllv4 to imply it's clk_hw based
authorAbel Vesa <abel.vesa@nxp.com>
Wed, 11 Dec 2019 09:25:47 +0000 (11:25 +0200)
committerShawn Guo <shawnguo@kernel.org>
Wed, 11 Dec 2019 11:19:54 +0000 (19:19 +0800)
Renaming the imx_clk_pllv4 register function to imx_clk_hw_pllv4 to be
more obvious it is clk_hw based.

Signed-off-by: Abel Vesa <abel.vesa@nxp.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
drivers/clk/imx/clk-imx7ulp.c
drivers/clk/imx/clk-pllv4.c
drivers/clk/imx/clk.h

index cbff56191c1bf61f0e0fd32d5f80649e523bb005..48bad87f0aa0da31aa3885d9783daee613075a80 100644 (file)
@@ -90,8 +90,8 @@ static void __init imx7ulp_clk_scg1_init(struct device_node *np)
        clks[IMX7ULP_CLK_SPLL_PRE_DIV]  = imx_clk_hw_divider_flags("spll_pre_div", "spll_pre_sel", base + 0x608,        8,      3,      CLK_SET_RATE_GATE);
 
        /*                                              name     parent_name     base */
-       clks[IMX7ULP_CLK_APLL]          = imx_clk_pllv4("apll",  "apll_pre_div", base + 0x500);
-       clks[IMX7ULP_CLK_SPLL]          = imx_clk_pllv4("spll",  "spll_pre_div", base + 0x600);
+       clks[IMX7ULP_CLK_APLL]          = imx_clk_hw_pllv4("apll",  "apll_pre_div", base + 0x500);
+       clks[IMX7ULP_CLK_SPLL]          = imx_clk_hw_pllv4("spll",  "spll_pre_div", base + 0x600);
 
        /* APLL PFDs */
        clks[IMX7ULP_CLK_APLL_PFD0]     = imx_clk_pfdv2("apll_pfd0", "apll", base + 0x50c, 0);
index 8155b12cf0e1a8c5e966358938147a1c1af08620..f51a800c268cf5b038b0448de338f82dad4dbe34 100644 (file)
@@ -206,7 +206,7 @@ static const struct clk_ops clk_pllv4_ops = {
        .is_enabled     = clk_pllv4_is_enabled,
 };
 
-struct clk_hw *imx_clk_pllv4(const char *name, const char *parent_name,
+struct clk_hw *imx_clk_hw_pllv4(const char *name, const char *parent_name,
                          void __iomem *base)
 {
        struct clk_pllv4 *pll;
index 23c73a238bec65a7718983416759a372677e5110..ee71aa9ee76d6d0e14109473256853b1a1d375b8 100644 (file)
@@ -176,7 +176,7 @@ struct clk_hw *imx_clk_hw_pllv3(enum imx_pllv3_type type, const char *name,
                .kdiv   =       (_k),                   \
        }
 
-struct clk_hw *imx_clk_pllv4(const char *name, const char *parent_name,
+struct clk_hw *imx_clk_hw_pllv4(const char *name, const char *parent_name,
                             void __iomem *base);
 
 struct clk_hw *clk_hw_register_gate2(struct device *dev, const char *name,