cpufreq: intel_pstate: Do not expose PID parameters in passive mode
commit366430b5c2f61a75d45b9fc00886ffff12f395ab
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 23 Dec 2016 23:29:56 +0000 (24 00:29 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 27 Dec 2016 02:30:11 +0000 (27 03:30 +0100)
tree729f466e442a1113a71fec3811f0bbf19e7bdd4d
parentadec57c61c2421d9d06c1fa8dd1ff7ed4fd2ca1b
cpufreq: intel_pstate: Do not expose PID parameters in passive mode

If intel_pstate works in the passive mode in which it acts as
a regular cpufreq driver and collaborates with generic cpufreq
governors, the PID parameters are not used, so do not expose
them via debugfs in that case.

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