summaryrefslogtreecommitdiff
path: root/drivers/cpufreq/cpufreq-dt-platdev.c
diff options
context:
space:
mode:
authorSudeep Holla <Sudeep.Holla@arm.com>2017-08-10 17:58:57 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2017-08-18 02:41:37 +0300
commitb20a3f3d8a3516dcde2d1fb130169f336bc93023 (patch)
tree2326d437126871375a620c5ff23a3f43da1f59d5 /drivers/cpufreq/cpufreq-dt-platdev.c
parentccc03d86e2c81667664f805f4e1b84c80aa7b3bf (diff)
downloadlinux-b20a3f3d8a3516dcde2d1fb130169f336bc93023.tar.xz
cpufreq: remove setting of policy->cpu in policy->cpus during init
policy->cpu is copied into policy->cpus in cpufreq_online() before calling into cpufreq_driver->init(). So there's no need to set the same in the individual driver init() functions again. This patch removes the redundant setting of policy->cpu in policy->cpus in intel_pstate and cppc drivers. Reported-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Sudeep Holla <sudeep.holla@arm.com> Acked-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/cpufreq/cpufreq-dt-platdev.c')
0 files changed, 0 insertions, 0 deletions