]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
clk: renesas: r8a7779: Remove obsolete r8a7779_clocks_init()
authorGeert Uytterhoeven <geert+renesas@glider.be>
Wed, 1 Jun 2016 13:24:58 +0000 (15:24 +0200)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Wed, 2 Nov 2016 19:44:17 +0000 (20:44 +0100)
The R-Car H1 board code no longer calls r8a7779_clocks_init().

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Dirk Behme <dirk.behme@de.bosch.com>
drivers/clk/renesas/clk-r8a7779.c
include/linux/clk/renesas.h

index ca7551bcb1153c3d919d7dd0794418c4b6a82938..27fbfafaf2cd035327ed50ea86479fae0f4a4c23 100644 (file)
@@ -89,8 +89,6 @@ static const unsigned int cpg_plla_mult[4] __initconst = { 42, 48, 56, 64 };
  * Initialization
  */
 
-static u32 cpg_mode __initdata;
-
 static struct clk * __init
 r8a7779_cpg_register_clock(struct device_node *np, struct r8a7779_cpg *cpg,
                           const struct cpg_clk_config *config,
@@ -178,10 +176,3 @@ static void __init r8a7779_cpg_clocks_init(struct device_node *np)
 }
 CLK_OF_DECLARE(r8a7779_cpg_clks, "renesas,r8a7779-cpg-clocks",
               r8a7779_cpg_clocks_init);
-
-void __init r8a7779_clocks_init(u32 mode)
-{
-       cpg_mode = mode;
-
-       of_clk_init(NULL);
-}
index 2b663bba1adcc7c1da876211cbe535dc0a86e348..9e969941f3f62878b47cf3c286979d6f2fe3c0e8 100644 (file)
@@ -20,7 +20,6 @@ struct device;
 struct device_node;
 struct generic_pm_domain;
 
-void r8a7779_clocks_init(u32 mode);
 void rcar_gen2_clocks_init(u32 mode);
 
 void cpg_mstp_add_clk_domain(struct device_node *np);