clk: socfpga: Remove socfpga_init_clocks
Subsystems (5)
PATCH RESEND 1/1 clk: socfpga: Remove socfpga_init_clocks
From: Dinh Nguyen <[email protected]>
The only thing that socfpga_init_clocks was doing setting up the smp_twd clock. Now that twd-timer's clock phandle is populated in the DTS, we can remove this function.
Signed-off-by Dinh Nguyen <[email protected]>
--- arch/arm/mach-socfpga/socfpga.c | 1 - drivers/clk/socfpga/clk.c | 10 ---------- 2 files changed, 11 deletions(-)
arch/arm/mach-socfpga/socfpga.c +0 -1
@@ -102,7 +102,6 @@ static void __init socfpga_cyclone5_init(void) {l2x0_of_init (0 , ~0UL );of_platform_populate (NULL , of_default_bus_match_table,NULL ,NULL ); -socfpga_init_clocks (); }static const char *altera_dt_match[] = {
drivers/clk/socfpga/clk.c +0 -10
@@ -348,13 +348,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" ); -}
Signature · 1 line
1.7.9.5
PATCH RESEND 1/1 clk: socfpga: Remove socfpga_init_clocks
Quoted 7 lines · dinguyen at altera.com
From: Dinh Nguyen <[email protected]>
The only thing that
socfpga_init_clockswas doing setting up thesmp_twdclock. Now that twd-timer's clock phandle is populated in the DTS, we can remove this function.Signed-off-by Dinh Nguyen <[email protected]>
Acked-by Arnd Bergmann <[email protected]>