clk: renesas: r8a7778: Remove obsolete r8a7778_clocks_init()
authorGeert Uytterhoeven <geert+renesas@glider.be>
Wed, 1 Jun 2016 13:23:22 +0000 (15:23 +0200)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Wed, 2 Nov 2016 19:44:14 +0000 (20:44 +0100)
The R-Car M1A board code no longer calls r8a7778_clocks_init().

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

index 07ea411..886a838 100644 (file)
@@ -143,16 +143,3 @@ static void __init r8a7778_cpg_clocks_init(struct device_node *np)
 
 CLK_OF_DECLARE(r8a7778_cpg_clks, "renesas,r8a7778-cpg-clocks",
               r8a7778_cpg_clocks_init);
-
-void __init r8a7778_clocks_init(u32 mode)
-{
-       BUG_ON(!(mode & BIT(19)));
-
-       cpg_mode_rates = (!!(mode & BIT(18)) << 2) |
-                        (!!(mode & BIT(12)) << 1) |
-                        (!!(mode & BIT(11)));
-       cpg_mode_divs = (!!(mode & BIT(2)) << 1) |
-                       (!!(mode & BIT(1)));
-
-       of_clk_init(NULL);
-}
index ba6fa41..2b663bb 100644 (file)
@@ -20,7 +20,6 @@ struct device;
 struct device_node;
 struct generic_pm_domain;
 
-void r8a7778_clocks_init(u32 mode);
 void r8a7779_clocks_init(u32 mode);
 void rcar_gen2_clocks_init(u32 mode);