]> git.baikalelectronics.ru Git - kernel.git/commit
cpufreq: Remove unnecessary variable/parameter 'frozen'
authorViresh Kumar <viresh.kumar@linaro.org>
Mon, 10 Mar 2014 09:23:35 +0000 (14:53 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 12 Mar 2014 00:06:01 +0000 (01:06 +0100)
commit40c238f79df6d55243e42fe6a267d7518ab98372
tree0a2e2c0dd988dd0d467dc2b3c636aabd60dc89fa
parent2d10004e1323e12d0864d25c3c40cce8a3f054e6
cpufreq: Remove unnecessary variable/parameter 'frozen'

We have used 'frozen' variable/function parameter at many places to
distinguish between CPU offline/online on suspend/resume vs sysfs
removals. We now have another variable cpufreq_suspended which can
be used in these cases, so we can get rid of all those variables or
function parameters.

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