ARM: imx: drop epit timer initialization from imx35 clock driver
authorShawn Guo <shawn.guo@linaro.org>
Tue, 28 Apr 2015 01:19:02 +0000 (09:19 +0800)
committerShawn Guo <shawn.guo@linaro.org>
Wed, 3 Jun 2015 06:44:33 +0000 (14:44 +0800)
commitde8e434d09f253369621e994da1833703c5c51d6
tree9fef4bbd34c78167086b2c7f57b8eaea7a979a1d
parentcf20968a78c8cc8c1c06f6693a0059d27548656e
ARM: imx: drop epit timer initialization from imx35 clock driver

EPIT provides another timer implementation besides the default GPT
timer.  The imx35 clock driver will use EPIT timer when option
CONFIG_MXC_USE_EPIT is enabled.  However, initializing timers from
clock driver is a workaround solution and causes problem when we move
clock drivers into driver/clk.

Let's simply drop the EPIT initialization from there.  If people really
want this EPIT option, EPIT timer driver needs to be reworked to do the
initialization in a standard way - use CLOCKSOURCE_OF_DECLARE() with
device tree support.

Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
drivers/clk/imx/clk-imx35.c