Skip to content

Commit 7978a78

Browse files
committed
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>
1 parent 80951f0 commit 7978a78

2 files changed

Lines changed: 0 additions & 14 deletions

File tree

drivers/clk/renesas/clk-r8a7778.c

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -143,16 +143,3 @@ static void __init r8a7778_cpg_clocks_init(struct device_node *np)
143143

144144
CLK_OF_DECLARE(r8a7778_cpg_clks, "renesas,r8a7778-cpg-clocks",
145145
r8a7778_cpg_clocks_init);
146-
147-
void __init r8a7778_clocks_init(u32 mode)
148-
{
149-
BUG_ON(!(mode & BIT(19)));
150-
151-
cpg_mode_rates = (!!(mode & BIT(18)) << 2) |
152-
(!!(mode & BIT(12)) << 1) |
153-
(!!(mode & BIT(11)));
154-
cpg_mode_divs = (!!(mode & BIT(2)) << 1) |
155-
(!!(mode & BIT(1)));
156-
157-
of_clk_init(NULL);
158-
}

include/linux/clk/renesas.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ struct device;
2020
struct device_node;
2121
struct generic_pm_domain;
2222

23-
void r8a7778_clocks_init(u32 mode);
2423
void r8a7779_clocks_init(u32 mode);
2524
void rcar_gen2_clocks_init(u32 mode);
2625

0 commit comments

Comments
 (0)