From 56329731d9240435d62a9c57026d3cc6bd1c01e9 Mon Sep 17 00:00:00 2001 From: Christian Hemp Date: Wed, 10 Jul 2013 16:00:52 +0200 Subject: imx6: phyflex: Remove regulator init call This is not need in the platform code. Signed-off-by: Christian Hemp --- arch/arm/mach-mx6/board-mx6q_phyflex.c | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'arch') diff --git a/arch/arm/mach-mx6/board-mx6q_phyflex.c b/arch/arm/mach-mx6/board-mx6q_phyflex.c index c69d014b1e34..74bb24f8ae99 100644 --- a/arch/arm/mach-mx6/board-mx6q_phyflex.c +++ b/arch/arm/mach-mx6/board-mx6q_phyflex.c @@ -1546,17 +1546,6 @@ static void __init mx6_phyflex_init(void) platform_device_register(&w1_device); } -// NOTE: this function is called by cpufreq. Dvfs doesn't calls this -// function so it must be called specifically, but when it's done from -// board initialization than order of regulators initialization is -// wrong. It results in cpu_regulator variable which leads to crush at -// time of dvfs enabling. -// TODO: find correct way of calling this function. Maybe in next -// kernel releases it will be explicitly called from dvfs. -#if !defined(CONFIG_CPU_FREQ_IMX) -device_initcall(mx6_cpu_regulator_init); -#endif - extern void __iomem *twd_base; static void __init mx6_timer_init(void) { -- cgit v1.2.3