cpufreq: governors: Move get_governor_parent_kobj() to cpufreq.c
authorViresh Kumar <viresh.kumar@linaro.org>
Thu, 16 May 2013 05:09:57 +0000 (05:09 +0000)
committerTodd Poynor <toddpoynor@google.com>
Sat, 8 Feb 2014 03:13:16 +0000 (03:13 +0000)
commit336eb742942e368ba93207eef48d6308a49220a4
treec571a6c8f09f8c085e38c6e154329541cf17d452
parent9dac10e5b1f2a360e8b0fbbd785fd912dbd0b753
cpufreq: governors: Move get_governor_parent_kobj() to cpufreq.c

get_governor_parent_kobj() can be used by any governor, generic
cpufreq governors or platform specific ones and so must be present in
cpufreq.c instead of cpufreq_governor.c.

This patch moves it to cpufreq.c. This also adds
EXPORT_SYMBOL_GPL(get_governor_parent_kobj) so that modules can use
this function too.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/cpufreq.c
drivers/cpufreq/cpufreq_governor.c
include/linux/cpufreq.h