diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2015-01-27 09:36:07 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2015-02-03 23:26:02 +0100 |
commit | 1e63eaf0c45f0ac733ef2818cd93e3e9047ef1c5 (patch) | |
tree | fca60dba177f10eb05d2d8f1f27ae9cc8dadb18f /drivers/iio | |
parent | cpufreq: Set cpufreq_cpu_data to NULL before putting kobject (diff) | |
download | linux-1e63eaf0c45f0ac733ef2818cd93e3e9047ef1c5.tar.xz linux-1e63eaf0c45f0ac733ef2818cd93e3e9047ef1c5.zip |
cpufreq: Drop cpufreq_disabled() check from cpufreq_cpu_{get|put}()
When cpufreq is disabled, the per-cpu variable would have been set to
NULL. Remove this unnecessary check.
[ Changelog from Saravana Kannan. ]
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Acked-by: Saravana Kannan <skannan@codeaurora.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/iio')
0 files changed, 0 insertions, 0 deletions