summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorLen Brown <len.brown@intel.com>2010-10-16 05:25:02 +0400
committerLen Brown <len.brown@intel.com>2010-10-16 05:25:02 +0400
commit0f3f164d9794f57d8afb033819f508a486c1304d (patch)
tree13b12ac88bf0941c1064a00415ad873e6fb20df3 /drivers
parentdea44c6b7df7f8bb67cb059b4c14b24288c4cd04 (diff)
downloadlinux-0f3f164d9794f57d8afb033819f508a486c1304d.tar.xz
acpi_idle: delete bogus data from cpuidle_state.power_usage
The mW data in this field comes from AML _CST, which was typed in by a BIOS writer, and is thus considered unreliable. Linux does not use it for making any decisions. We do display it in sysfs where somebody might read it and assume it is meaningful, so delete it. Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/acpi/processor_idle.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/acpi/processor_idle.c b/drivers/acpi/processor_idle.c
index f4428e82b352..07a8bb6506f7 100644
--- a/drivers/acpi/processor_idle.c
+++ b/drivers/acpi/processor_idle.c
@@ -1013,7 +1013,6 @@ static int acpi_processor_setup_cpuidle(struct acpi_processor *pr)
strncpy(state->desc, cx->desc, CPUIDLE_DESC_LEN);
state->exit_latency = cx->latency;
state->target_residency = cx->latency * latency_factor;
- state->power_usage = cx->power;
state->flags = 0;
switch (cx->type) {