• Paul Walmsley's avatar
    OMAP clock/CPUFreq: add clk_exit_cpufreq_table() · 4e37c10d
    Paul Walmsley authored
    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: default avatarPaul Walmsley <paul@pwsan.com>
    4e37c10d
clock.c 9.97 KB