diff options
author | Frans Pop <elendil@planet.nl> | 2009-05-22 10:23:40 +0200 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2009-05-30 03:26:26 +0200 |
commit | 21671b88be331fb9c95891d5ee7d2e940e6b024c (patch) | |
tree | d21a7e70a502980d111f0784f8598c153185647f /drivers/acpi | |
parent | drm/i915: acpi/video.c fix section mismatch warning (diff) | |
download | linux-21671b88be331fb9c95891d5ee7d2e940e6b024c.tar.xz linux-21671b88be331fb9c95891d5ee7d2e940e6b024c.zip |
ACPI processor: remove spurious newline from warning message
Commit 4973b22a ("ACPI processor: reset the throttling state once it's
invalid") introduced a new warning which prints a spurious newline.
The ACPI_WARNING macro that is used already takes care of adding a
newline, after adding ACPI_CA_VERSION to the message. Remove the newline
to avoid the message getting split into two lines.
Signed-off-by: Frans Pop <elendil@planet.nl>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi')
-rw-r--r-- | drivers/acpi/processor_throttling.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/processor_throttling.c b/drivers/acpi/processor_throttling.c index 7f16f5f8e7d3..227543789ba9 100644 --- a/drivers/acpi/processor_throttling.c +++ b/drivers/acpi/processor_throttling.c @@ -840,7 +840,7 @@ static int acpi_processor_get_throttling_ptc(struct acpi_processor *pr) state = acpi_get_throttling_state(pr, value); if (state == -1) { ACPI_WARNING((AE_INFO, - "Invalid throttling state, reset\n")); + "Invalid throttling state, reset")); state = 0; ret = acpi_processor_set_throttling(pr, state); if (ret) |