cosmetic: rockchip: rk3288: rename rkclk_configure_cpu
authorHeiko Stübner <heiko@sntech.de>
Fri, 15 Jul 2016 22:17:16 +0000 (00:17 +0200)
committerSimon Glass <sjg@chromium.org>
Tue, 26 Jul 2016 02:44:20 +0000 (20:44 -0600)
The function is very specific to the rk3288 in its arguments
referencing the rk3288 cru and grf and every other rockchip soc
has differing cru and grf registers. So make that function naming
explicit.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Acked-by: Simon Glass <sjg@chromium.org>
arch/arm/include/asm/arch-rockchip/clock.h
arch/arm/mach-rockchip/rk3288/sdram_rk3288.c
drivers/clk/clk_rk3288.c

index 317e5128ed2bc48342e163b120f81f05c87de9f7..4bebd624798963172cb9672c11c2ef8f1649686e 100644 (file)
@@ -65,6 +65,6 @@ void *rockchip_get_cru(void);
 struct rk3288_cru;
 struct rk3288_grf;
 
-void rkclk_configure_cpu(struct rk3288_cru *cru, struct rk3288_grf *grf);
+void rk3288_clk_configure_cpu(struct rk3288_cru *cru, struct rk3288_grf *grf);
 
 #endif
index b36b6afcd978232ceedebc1479aa811d6d206fce..fc0f2f33bddaf178ddc975dd3f39b643b46262c6 100644 (file)
@@ -784,7 +784,7 @@ static int veyron_init(struct dram_info *priv)
                return ret;
        udelay(100);/* Must wait for voltage to stabilize, 2mV/us */
 
-       rkclk_configure_cpu(priv->cru, priv->grf);
+       rk3288_clk_configure_cpu(priv->cru, priv->grf);
 
        return 0;
 }
index 679f010bb7b1b1a47c77d9d7702f7cefbacf3f9d..dece4bcf4e54484bbac062fc89eb1ef490757026 100644 (file)
@@ -447,7 +447,7 @@ static void rkclk_init(struct rk3288_cru *cru, struct rk3288_grf *grf)
 }
 #endif
 
-void rkclk_configure_cpu(struct rk3288_cru *cru, struct rk3288_grf *grf)
+void rk3288_clk_configure_cpu(struct rk3288_cru *cru, struct rk3288_grf *grf)
 {
        /* pll enter slow-mode */
        rk_clrsetreg(&cru->cru_mode_con,