Commit ba5d08c0 authored by Daniel Lezcano's avatar Daniel Lezcano
Browse files

clocksource/drivers: Rename clocksource_probe to timer_probe



The function name is now renamed to 'timer_probe' for consistency with
the CLOCKSOURCE_OF_DECLARE => TIMER_OF_DECLARE change.

Signed-off-by: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
Acked-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
Acked-by: default avatarHeiko Stuebner <heiko@sntech.de>
Reviewed-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 17273395
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -470,7 +470,7 @@ void __init setup_arch(char **cmdline_p)
void __init time_init(void)
{
	of_clk_init(NULL);
	clocksource_probe();
	timer_probe();
}

static int __init customize_machine(void)
+1 −1
Original line number Diff line number Diff line
@@ -120,6 +120,6 @@ void __init time_init(void)
#ifdef CONFIG_COMMON_CLK
		of_clk_init(NULL);
#endif
		clocksource_probe();
		timer_probe();
	}
}
+1 −1
Original line number Diff line number Diff line
@@ -41,7 +41,7 @@ static void __init mediatek_timer_init(void)
	}

	of_clk_init(NULL);
	clocksource_probe();
	timer_probe();
};

static const char * const mediatek_board_dt_compat[] = {
+5 −5
Original line number Diff line number Diff line
@@ -497,7 +497,7 @@ void __init omap_init_time(void)
	__omap_sync32k_timer_init(1, "timer_32k_ck", "ti,timer-alwon",
			2, "timer_sys_ck", NULL, false);

	clocksource_probe();
	timer_probe();
}

#if defined(CONFIG_ARCH_OMAP3) || defined(CONFIG_SOC_AM43XX)
@@ -506,7 +506,7 @@ void __init omap3_secure_sync32k_timer_init(void)
	__omap_sync32k_timer_init(12, "secure_32k_fck", "ti,timer-secure",
			2, "timer_sys_ck", NULL, false);

	clocksource_probe();
	timer_probe();
}
#endif /* CONFIG_ARCH_OMAP3 */

@@ -517,7 +517,7 @@ void __init omap3_gptimer_timer_init(void)
	__omap_sync32k_timer_init(2, "timer_sys_ck", NULL,
			1, "timer_sys_ck", "ti,timer-alwon", true);
	if (of_have_populated_dt())
		clocksource_probe();
		timer_probe();
}
#endif

@@ -532,7 +532,7 @@ static void __init omap4_sync32k_timer_init(void)
void __init omap4_local_timer_init(void)
{
	omap4_sync32k_timer_init();
	clocksource_probe();
	timer_probe();
}
#endif

@@ -656,7 +656,7 @@ void __init omap5_realtime_timer_init(void)
	omap4_sync32k_timer_init();
	realtime_counter_init();

	clocksource_probe();
	timer_probe();
}
#endif /* CONFIG_SOC_OMAP5 || CONFIG_SOC_DRA7XX */

+1 −1
Original line number Diff line number Diff line
@@ -55,7 +55,7 @@ static void __init rockchip_timer_init(void)
	}

	of_clk_init(NULL);
	clocksource_probe();
	timer_probe();
}

static void __init rockchip_dt_init(void)
Loading