OMAP clock/CPUFreq: add clk_exit_cpufreq_table()
authorPaul Walmsley <paul@pwsan.com>
Fri, 8 Jan 2010 22:23:16 +0000 (15:23 -0700)
committerPaul Walmsley <paul@pwsan.com>
Fri, 8 Jan 2010 22:23:16 +0000 (15:23 -0700)
commit4e37c10d8a721b19933491df7af296aac9281004
tree3a82d2f29a5e82a700400ff9d48a87f5c114f6c1
parentca6eccb31ef63722b35ea695f75089adeec319d7
OMAP clock/CPUFreq: add clk_exit_cpufreq_table()

A subsequent patch adds code on OMAP2xxx to dynamically allocate the
CPUFreq frequency table in clk_init_cpufreq_table(), so for it to
avoid a leak, it will need a corresponding function to free the
memory.  This patch adds clk_exit_cpufreq_table() with generic
code to call a chip-specific variant inside the clockfw_lock spinlock via
struct clk_functions.

Signed-off-by: Paul Walmsley <paul@pwsan.com>
arch/arm/plat-omap/clock.c
arch/arm/plat-omap/cpu-omap.c
arch/arm/plat-omap/include/plat/clock.h