cpufreq: intel_pstate: Remove unnecessary type casting in div_s64() call
authorStratos Karafotis <stratosk@semaphore.gr>
Fri, 18 Jul 2014 15:37:18 +0000 (08:37 -0700)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 21 Jul 2014 11:43:17 +0000 (13:43 +0200)
commitfa30dff9a81ea9fdc2e985a14fe14ce6393a3214
treed3e792f9d0ddb86e3e0ce2e36ba180b966421c44
parent317dd50e80775434a2ea593ad8522e728ed94e9d
cpufreq: intel_pstate: Remove unnecessary type casting in div_s64() call

div_s64() accepts the divisor parameter as s32. Helper div_fp()
also accepts divisor as int32_t.

So, remove the unnecessary int64_t type casting.

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