cpufreq: OMAP: only supports OPP library
authorNishanth Menon <nm@ti.com>
Fri, 27 May 2011 02:39:18 +0000 (19:39 -0700)
committerGrazvydas Ignotas <notasas@gmail.com>
Fri, 13 Jan 2012 15:09:46 +0000 (17:09 +0200)
commite32c73e401997f63e33ca971564c242330068992
treea8d1256180a515529045ebe5092b0e7d4602c8e2
parent0b7e15d6cfffb3d07f64937f4378cf3b625ed321
cpufreq: OMAP: only supports OPP library

OMAP2 is the only family using clk_[init|exit]_cpufreq_table, however,
the cpufreq code does not currently use clk_init_cpufreq_table. As a
result, it is unusuable for OMAP2 and only usable only on platforms
using OPP library.

Remove the unbalanced clk_exit_cpufreq_table().  Any platforms where
OPPs are not availble will fail on init because a freq table will not
be properly initialized.

Signed-off-by: Nishanth Menon <nm@ti.com>
[khilman@ti.com: changelog edits, and graceful failure mode changes]
Signed-off-by: Kevin Hilman <khilman@ti.com>
drivers/cpufreq/omap-cpufreq.c