cpufreq: Don't set transition_latency for setpolicy drivers
authorViresh Kumar <viresh.kumar@linaro.org>
Wed, 19 Jul 2017 10:12:44 +0000 (15:42 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 25 Jul 2017 22:15:43 +0000 (00:15 +0200)
commitb8b78825a2d9b423d5e7cc2943c07c3b8140941e
treec3f2eb360aa1425b58ea47c46d7a107effb05a1c
parentaa7519af450d3c62a057aece24877c34562fa25a
cpufreq: Don't set transition_latency for setpolicy drivers

The transition_latency field isn't used for drivers with ->setpolicy()
callback present and there is no point setting it from the drivers.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/intel_pstate.c
drivers/cpufreq/longrun.c