summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Hemp <c.hemp@phytec.de>2013-07-10 16:00:52 +0200
committerJustin Waters <justin.waters@timesys.com>2013-11-07 12:19:34 -0500
commit56329731d9240435d62a9c57026d3cc6bd1c01e9 (patch)
tree6ec0baaa8d6f0ec9e552dbd959030c029a2b1584
parentc0d502ce6e4d8ae90131ebc5d9a2d8956a6e556a (diff)
imx6: phyflex: Remove regulator init call
This is not need in the platform code. Signed-off-by: Christian Hemp <c.hemp@phytec.de>
-rw-r--r--arch/arm/mach-mx6/board-mx6q_phyflex.c11
1 files changed, 0 insertions, 11 deletions
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)
{