diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2016-06-01 15:23:22 +0200 |
---|---|---|
committer | Geert Uytterhoeven <geert+renesas@glider.be> | 2016-11-02 20:44:14 +0100 |
commit | 7978a78c828ac8d5351b85480e60ada865b9bea9 (patch) | |
tree | 079973111acbf38609412521c9b618906844024e /drivers/clk/renesas/clk-r8a7778.c | |
parent | ARM: shmobile: rcar-gen2: Stop passing mode pins state to clock driver (diff) | |
download | linux-7978a78c828ac8d5351b85480e60ada865b9bea9.tar.xz linux-7978a78c828ac8d5351b85480e60ada865b9bea9.zip |
clk: renesas: r8a7778: Remove obsolete r8a7778_clocks_init()
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>
Diffstat (limited to 'drivers/clk/renesas/clk-r8a7778.c')
-rw-r--r-- | drivers/clk/renesas/clk-r8a7778.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/drivers/clk/renesas/clk-r8a7778.c b/drivers/clk/renesas/clk-r8a7778.c index 07ea411098a7..886a8380e912 100644 --- a/drivers/clk/renesas/clk-r8a7778.c +++ b/drivers/clk/renesas/clk-r8a7778.c @@ -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); -} |