commit | 4e37c10d8a721b19933491df7af296aac9281004 | [log] [tgz] |
---|---|---|
author | Paul Walmsley <paul@pwsan.com> | Fri Jan 08 15:23:16 2010 -0700 |
committer | Paul Walmsley <paul@pwsan.com> | Fri Jan 08 15:23:16 2010 -0700 |
tree | 3a82d2f29a5e82a700400ff9d48a87f5c114f6c1 | |
parent | ca6eccb31ef63722b35ea695f75089adeec319d7 [diff] |
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>