diff options
author | Dirk Brandewie <dirk.j.brandewie@intel.com> | 2013-01-17 20:22:21 +0400 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-02-02 03:01:14 +0400 |
commit | d5aaffa9dd531c978c6f3fea06a2972653bd7fc8 (patch) | |
tree | 4ce3e3de25daaaf25b5fa09f4596314b3b68de4d /drivers/cpufreq/acpi-cpufreq.c | |
parent | b8eed8af94f9203e0cc39245ea335f4b8dc1ed31 (diff) | |
download | linux-d5aaffa9dd531c978c6f3fea06a2972653bd7fc8.tar.xz |
cpufreq: handle cpufreq being disabled for all exported function.
When disable_cpufreq() is called some exported functions are still
being used that do not have a check for cpufreq being disabled.
Add a disabled check into cpufreq_cpu_get() to return NULL if
cpufreq is disabled this covers most of the exported functions. For
the exported functions that do not call cpufreq_cpu_get() add an
explicit check.
Signed-off-by: Dirk Brandewie <dirk.j.brandewie@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/cpufreq/acpi-cpufreq.c')
0 files changed, 0 insertions, 0 deletions