clk: renesas: rcar-gen2: Remove obsolete rcar_gen2_clocks_init()
authorGeert Uytterhoeven <geert+renesas@glider.be>
Wed, 1 Jun 2016 13:26:53 +0000 (15:26 +0200)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Wed, 2 Nov 2016 19:44:20 +0000 (20:44 +0100)
The R-Car Gen2 board code no longer calls rcar_gen2_clocks_init().

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

index 3291fd430ad4e2158336fc410855487cdba42293..f39519edc645ca87887f30a259aab9b9de6d5991 100644 (file)
@@ -445,10 +445,3 @@ static void __init rcar_gen2_cpg_clocks_init(struct device_node *np)
 }
 CLK_OF_DECLARE(rcar_gen2_cpg_clks, "renesas,rcar-gen2-cpg-clocks",
               rcar_gen2_cpg_clocks_init);
-
-void __init rcar_gen2_clocks_init(u32 mode)
-{
-       cpg_mode = mode;
-
-       of_clk_init(NULL);
-}
index 9e969941f3f62878b47cf3c286979d6f2fe3c0e8..9ebf1f8243bb57af54b0d5adc3b22408c858d103 100644 (file)
@@ -20,8 +20,6 @@ struct device;
 struct device_node;
 struct generic_pm_domain;
 
-void rcar_gen2_clocks_init(u32 mode);
-
 void cpg_mstp_add_clk_domain(struct device_node *np);
 #ifdef CONFIG_CLK_RENESAS_CPG_MSTP
 int cpg_mstp_attach_dev(struct generic_pm_domain *unused, struct device *dev);