cpufreq: limit the scope of l_p_j variables
authorViresh Kumar <viresh.kumar@linaro.org>
Fri, 2 Jan 2015 07:04:34 +0000 (12:34 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 23 Jan 2015 21:49:34 +0000 (22:49 +0100)
commit39c132eebdd26a3041a92fc64fc1e61293eb39da
tree3e881ebdb242fba2d455c563f6de492d6a9d978f
parentd7a9771c1a37af8d0cd0cf97723aeea88b9de8bb
cpufreq: limit the scope of l_p_j variables

These variables are just used within adjust_jiffies() and so must be
local to it. Also there is no need of a dummy routine for CONFIG_SMP
case as we can take care of all that with help of macros in the same
routine. It doesn't look that ugly.

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