diff options
author | Colin Ian King <colin.king@canonical.com> | 2012-11-29 06:53:13 -0500 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-01-25 18:34:21 -0500 |
commit | bf6787ebb6c811ce41bc3f3f833a04d5f8978fa8 (patch) | |
tree | 4db49b1bbf65f0909eb160cdef6926c155ad6756 /drivers/acpi/video.c | |
parent | 208f6cc9e5f83c9e2fb3a997dde3d4f6f5971384 (diff) |
ACPI video: remove unnecessary newline from error messages
ACPI_ERROR() already appends a newline, so there is no
need for the error messages to include one too.
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/video.c')
-rw-r--r-- | drivers/acpi/video.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/acpi/video.c b/drivers/acpi/video.c index ac9a69cd45f5..b03bb26365ae 100644 --- a/drivers/acpi/video.c +++ b/drivers/acpi/video.c | |||
@@ -673,7 +673,7 @@ acpi_video_init_brightness(struct acpi_video_device *device) | |||
673 | br->levels[i] = br->levels[i - level_ac_battery]; | 673 | br->levels[i] = br->levels[i - level_ac_battery]; |
674 | count += level_ac_battery; | 674 | count += level_ac_battery; |
675 | } else if (level_ac_battery > 2) | 675 | } else if (level_ac_battery > 2) |
676 | ACPI_ERROR((AE_INFO, "Too many duplicates in _BCL package\n")); | 676 | ACPI_ERROR((AE_INFO, "Too many duplicates in _BCL package")); |
677 | 677 | ||
678 | /* Check if the _BCL package is in a reversed order */ | 678 | /* Check if the _BCL package is in a reversed order */ |
679 | if (max_level == br->levels[2]) { | 679 | if (max_level == br->levels[2]) { |
@@ -682,7 +682,7 @@ acpi_video_init_brightness(struct acpi_video_device *device) | |||
682 | acpi_video_cmp_level, NULL); | 682 | acpi_video_cmp_level, NULL); |
683 | } else if (max_level != br->levels[count - 1]) | 683 | } else if (max_level != br->levels[count - 1]) |
684 | ACPI_ERROR((AE_INFO, | 684 | ACPI_ERROR((AE_INFO, |
685 | "Found unordered _BCL package\n")); | 685 | "Found unordered _BCL package")); |
686 | 686 | ||
687 | br->count = count; | 687 | br->count = count; |
688 | device->brightness = br; | 688 | device->brightness = br; |