Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • L linux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Kirill Smelkov
  • linux
  • Repository
  • linux
  • drivers
  • cpufreq
  • cppc_cpufreq.c
Find file BlameHistoryPermalink
  • Sudeep Holla's avatar
    cpufreq: remove setting of policy->cpu in policy->cpus during init · b20a3f3d
    Sudeep Holla authored Aug 10, 2017
    
    
    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: default avatarViresh Kumar <viresh.kumar@linaro.org>
    Signed-off-by: default avatarSudeep Holla <sudeep.holla@arm.com>
    Acked-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
    Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
    b20a3f3d
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7