]> git.baikalelectronics.ru Git - kernel.git/commitdiff
clk: mmp2: Rename mmp2_pll_init() to mmp2_main_clk_init()
authorLubomir Rintel <lkundrak@v3.sk>
Tue, 19 May 2020 22:41:44 +0000 (00:41 +0200)
committerStephen Boyd <sboyd@kernel.org>
Thu, 28 May 2020 00:55:12 +0000 (17:55 -0700)
This is a trivial rename for a routine that registers more clock sources
than the PLLs -- there's also a XO.

Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
Link: https://lkml.kernel.org/r/20200519224151.2074597-7-lkundrak@v3.sk
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/mmp/clk-of-mmp2.c

index 524574187c17a8761bb285e4ef4f76c8ce899446..ac88ea99b7c6870f189b947d650ead0beffeca0d 100644 (file)
@@ -139,7 +139,7 @@ static struct mmp_clk_factor_tbl uart_factor_tbl[] = {
        {.num = 3521, .den = 689},      /*19.23MHZ */
 };
 
-static void mmp2_pll_init(struct mmp2_clk_unit *pxa_unit)
+static void mmp2_main_clk_init(struct mmp2_clk_unit *pxa_unit)
 {
        struct clk *clk;
        struct mmp_clk_unit *unit = &pxa_unit->unit;
@@ -456,7 +456,7 @@ static void __init mmp2_clk_init(struct device_node *np)
 
        mmp_clk_init(np, &pxa_unit->unit, MMP2_NR_CLKS);
 
-       mmp2_pll_init(pxa_unit);
+       mmp2_main_clk_init(pxa_unit);
 
        mmp2_apb_periph_clk_init(pxa_unit);