Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • I ipipe-ppc32
  • Project information
    • Project information
    • Activity
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Commits
Collapse sidebar
  • xenomaixenomai
  • ipipe-ppc32
  • Repository
Switch branch/tag
  • ipipe-ppc32
  • drivers
  • cpufreq
  • cpufreq.c
Find file BlameHistoryPermalink
  • Rafael J. Wysocki's avatar
    cpufreq: Replace recover_policy with new_policy in cpufreq_online() · 194d99c7
    Rafael J. Wysocki authored Jul 29, 2015
    
    
    The recover_policy is unsed in cpufreq_online() to indicate whether
    a new policy object is created or an existing one is reinitialized.
    
    The "recover" part of the name is slightly confusing (it should be
    "reinitialization" rather than "recovery") and the logical not (!)
    operator is applied to it in almost all of the checks it is used in,
    so replace that variable with a new one called "new_policy" that
    will be true in the case of a new policy creation.
    
    While at it, drop one of the labels that is jumped to from only
    one spot.
    
    Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
    Acked-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
    194d99c7

Imprint & Privacy Policy