Skip to content

Commit

Permalink
clk: mmp2: Rename mmp2_pll_init() to mmp2_main_clk_init()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Lubomir Rintel authored and Stephen Boyd committed May 28, 2020
1 parent 8c2427b commit 2766c19
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/clk/mmp/clk-of-mmp2.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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);

Expand Down

0 comments on commit 2766c19

Please sign in to comment.