diff options
author | Frans Pop <elendil@planet.nl> | 2009-08-26 17:29:30 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-08-26 23:06:53 -0400 |
commit | bdf57de4e6abc389cc3f3bd94ec15cce74cf6f4b (patch) | |
tree | 98cf68138b5b01aecd9fbda68657d789fb891d2f /drivers | |
parent | 2a908002c7b1b666616103e9df2419b38d7c6f1f (diff) |
acpi processor: remove superfluous warning message
This failure is very common on many platforms. Handling it in the ACPI
processor driver is enough, and we don't need a warning message unless
CONFIG_ACPI_DEBUG is set.
Based on a patch from Zhang Rui.
Addresses http://bugzilla.kernel.org/show_bug.cgi?id=13389
Signed-off-by: Frans Pop <elendil@planet.nl>
Acked-by: Zhang Rui <rui.zhang@intel.com>
Cc: Len Brown <lenb@kernel.org>
Cc: "Rafael J. Wysocki" <rjw@sisk.pl>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/acpi/processor_throttling.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/acpi/processor_throttling.c b/drivers/acpi/processor_throttling.c index 841be4ee2109..ae39797aab55 100644 --- a/drivers/acpi/processor_throttling.c +++ b/drivers/acpi/processor_throttling.c | |||
@@ -840,8 +840,8 @@ static int acpi_processor_get_throttling_ptc(struct acpi_processor *pr) | |||
840 | if (ret >= 0) { | 840 | if (ret >= 0) { |
841 | state = acpi_get_throttling_state(pr, value); | 841 | state = acpi_get_throttling_state(pr, value); |
842 | if (state == -1) { | 842 | if (state == -1) { |
843 | ACPI_WARNING((AE_INFO, | 843 | ACPI_DEBUG_PRINT((ACPI_DB_INFO, |
844 | "Invalid throttling state, reset")); | 844 | "Invalid throttling state, reset\n")); |
845 | state = 0; | 845 | state = 0; |
846 | ret = acpi_processor_set_throttling(pr, state, true); | 846 | ret = acpi_processor_set_throttling(pr, state, true); |
847 | if (ret) | 847 | if (ret) |