From: Sebastian Hesselbarth Date: Wed, 4 Sep 2013 12:12:46 +0000 (+0200) Subject: ARM: vt8500: remove custom .init_time hook X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=64cc69abbb32e17aa44d2c696eca65cb6f9364ca;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git ARM: vt8500: 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 Acked-by: Tony Prisk --- diff --git a/arch/arm/mach-vt8500/vt8500.c b/arch/arm/mach-vt8500/vt8500.c index 504156351b3e..4a73464cb11b 100644 --- a/arch/arm/mach-vt8500/vt8500.c +++ b/arch/arm/mach-vt8500/vt8500.c @@ -18,8 +18,6 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#include -#include #include #include #include @@ -74,12 +72,6 @@ static void vt8500_power_off(void) asm("mcr%? p15, 0, %0, c7, c0, 4" : : "r" (0)); } -static void __init vt8500_init_time(void) -{ - of_clk_init(NULL); - clocksource_of_init(); -} - void __init vt8500_init(void) { struct device_node *np; @@ -183,7 +175,6 @@ DT_MACHINE_START(WMT_DT, "VIA/Wondermedia SoC (Device Tree Support)") .dt_compat = vt8500_dt_compat, .map_io = vt8500_map_io, .init_machine = vt8500_init, - .init_time = vt8500_init_time, .restart = vt8500_restart, MACHINE_END