provide disable_cpufreq() function to disable the API.
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Tue, 13 Mar 2012 23:18:39 +0000 (19:18 -0400)
committerDave Jones <davej@redhat.com>
Wed, 14 Mar 2012 18:45:03 +0000 (14:45 -0400)
commita7b422cda5084db7265c3b23310a959b43b47529
tree32cb3e1dbde6b23814cc4e9c432db92754e89679
parent562a6cbe1cf2edf0a87a659eb26095400322430e
provide disable_cpufreq() function to disable the API.

useful for disabling cpufreq altogether. The cpu frequency
scaling drivers and cpu frequency governors will fail to register.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: Dave Jones <davej@redhat.com>
drivers/cpufreq/cpufreq.c
include/linux/cpufreq.h