cpufreq: intel_pstate: Remove PID debugfs when not used
authorSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Fri, 21 Oct 2016 16:38:20 +0000 (09:38 -0700)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 21 Oct 2016 20:16:26 +0000 (22:16 +0200)
commit185d82456edaa5a7a8c8827840b8a675c60579c0
tree09408f5f4f4f9bc267ca01f737f8283ccdd21406
parent1d29815ef2d2dd0fb1a62494a9c158c0dc49e2c8
cpufreq: intel_pstate: Remove PID debugfs when not used

When target state is calculated using get_target_pstate_use_cpu_load(),
PID controller is not used, hence it has no effect on performance.
So don't present debugfs entries to tune PID controller.

Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/intel_pstate.c