Skip to content

Commit 2ab38d9

Browse files
committed
ARM: rockchip: remove custom .init_time hook
With arch/arm calling of_clk_init(NULL) from time_init(), we can now remove custom .init_time hooks. Signed-off-by: Sebastian Hesselbarth <[email protected]> Acked-by: Heiko Stuebner <[email protected]>
1 parent 5043250 commit 2ab38d9

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

arch/arm/mach-rockchip/rockchip.c

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -19,18 +19,10 @@
1919
#include <linux/init.h>
2020
#include <linux/of_platform.h>
2121
#include <linux/irqchip.h>
22-
#include <linux/dw_apb_timer.h>
23-
#include <linux/clk-provider.h>
2422
#include <asm/mach/arch.h>
2523
#include <asm/mach/map.h>
2624
#include <asm/hardware/cache-l2x0.h>
2725

28-
static void __init rockchip_timer_init(void)
29-
{
30-
of_clk_init(NULL);
31-
clocksource_of_init();
32-
}
33-
3426
static void __init rockchip_dt_init(void)
3527
{
3628
l2x0_of_init(0, ~0UL);
@@ -47,6 +39,5 @@ static const char * const rockchip_board_dt_compat[] = {
4739

4840
DT_MACHINE_START(ROCKCHIP_DT, "Rockchip Cortex-A9 (Device Tree)")
4941
.init_machine = rockchip_dt_init,
50-
.init_time = rockchip_timer_init,
5142
.dt_compat = rockchip_board_dt_compat,
5243
MACHINE_END

0 commit comments

Comments
 (0)