cpufreq: intel_pstate: Simplify P state adjustment logic.
authorStratos Karafotis <stratosk@semaphore.gr>
Fri, 18 Jul 2014 15:37:26 +0000 (08:37 -0700)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 21 Jul 2014 11:43:19 +0000 (13:43 +0200)
commit4b707c893d0937be9c7be437950a312fbaf47601
tree045d86341828bd89fc2a38391a6232c61add80ea
parentac658131d79e775efb0b819cc5a833e581d4de28
cpufreq: intel_pstate: Simplify P state adjustment logic.

Simplify the code by removing the inline functions pstate_increase and
pstate_decrease and use directly the intel_pstate_set_pstate.

Signed-off-by: Stratos Karafotis <stratosk@semaphore.gr>
Acked-by: Dirk Brandewie <dirk.j.brandewie@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/intel_pstate.c