cpufreq: intel_pstate: Minor cleanup for FRAC_BITS
authorPrarit Bhargava <prarit@redhat.com>
Tue, 8 Dec 2015 18:44:59 +0000 (13:44 -0500)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sat, 12 Dec 2015 01:28:19 +0000 (02:28 +0100)
commit88b7b7c0c2ba2c1f2c589ee883050717fe91af22
tree18750f8e0afdd16cfccd7fb198c901d478f301a3
parentb5832e4b62e6ccdd4d7dcbc36778ea1837d30768
cpufreq: intel_pstate: Minor cleanup for FRAC_BITS

785ee27 ("cpufreq: intel_pstate: Fix limits->max_perf rounding error")
hardcodes the value of FRAC_BITS.  This patch fixes that minor issue.

Fixes: 785ee2788141 (cpufreq: intel_pstate: Fix limits->max_perf rounding error)
Signed-off-by: Prarit Bhargava <prarit@redhat.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/intel_pstate.c