intel_pstate: Remove extra conversions in pid calculation
authorPhilippe Longepe <philippe.longepe@linux.intel.com>
Tue, 8 Mar 2016 09:31:14 +0000 (10:31 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 10 Mar 2016 23:04:42 +0000 (00:04 +0100)
commitb54a0dfd56d5c314302987e0ff173b3f1bfcb555
tree8edbdec3197f8e2cfd7ee0262cbe7334b7b72c78
parenta5acbfbd70bc6a0cd4c8ca8f4f5e52ac3ee7dca4
intel_pstate: Remove extra conversions in pid calculation

pid->setpoint and pid->deadband can be initialized in fixed point, so we
can avoid the int_tofp in pid_calc.

Signed-off-by: Philippe Longepe <philippe.longepe@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/intel_pstate.c