cpufreq: OMAP: only supports OPP library
authorNishanth Menon <nm@ti.com>
Fri, 27 May 2011 02:39:18 +0000 (19:39 -0700)
committerKevin Hilman <khilman@ti.com>
Tue, 8 Nov 2011 19:42:17 +0000 (11:42 -0800)
commitffe4f0f115420e3843aa0d8dc1baf31ea5b6fcf2
tree8927c917cd738befc191295e41c568854ac0dda3
parentbf2a359d504bca3ef71a65e8759d51af4b17055a
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