From 77f1057777818c575f01d1e27d76bc73310eec6e Mon Sep 17 00:00:00 2001 From: Dinh Nguyen Date: Thu, 5 Dec 2013 11:34:48 -0600 Subject: clk: socfpga: Remove socfpga_init_clocks The only thing that socfpga_init_clocks was doing is setting up the smp_twd clk. Now that twd-timer's clock phandle is populated in the DTS, we can remove this function. Signed-off-by: Dinh Nguyen Acked-by: Arnd Bergmann --- drivers/clk/socfpga/clk.c | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'drivers/clk/socfpga/clk.c') diff --git a/drivers/clk/socfpga/clk.c b/drivers/clk/socfpga/clk.c index cba21a0823b6..75b6257f61b9 100644 --- a/drivers/clk/socfpga/clk.c +++ b/drivers/clk/socfpga/clk.c @@ -347,13 +347,3 @@ static void __init socfpga_clkmgr_init(struct device_node *node) } CLK_OF_DECLARE(socfpga_mgr, "altr,clk-mgr", socfpga_clkmgr_init); -void __init socfpga_init_clocks(void) -{ - struct clk *clk; - int ret; - - clk = clk_register_fixed_factor(NULL, "smp_twd", "mpuclk", 0, 1, 4); - ret = clk_register_clkdev(clk, NULL, "smp_twd"); - if (ret) - pr_err("smp_twd alias not registered\n"); -} -- cgit v1.2.1