summaryrefslogtreecommitdiffstats
path: root/drivers/acpi
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2012-11-29 11:53:13 +0000
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-01-26 00:34:21 +0100
commitbf6787ebb6c811ce41bc3f3f833a04d5f8978fa8 (patch)
tree4db49b1bbf65f0909eb160cdef6926c155ad6756 /drivers/acpi
parent208f6cc9e5f83c9e2fb3a997dde3d4f6f5971384 (diff)
downloadlinux-bf6787ebb6c811ce41bc3f3f833a04d5f8978fa8.tar.gz
linux-bf6787ebb6c811ce41bc3f3f833a04d5f8978fa8.tar.bz2
linux-bf6787ebb6c811ce41bc3f3f833a04d5f8978fa8.zip
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')
-rw-r--r--drivers/acpi/video.c4
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)
br->levels[i] = br->levels[i - level_ac_battery];
count += level_ac_battery;
} else if (level_ac_battery > 2)
- ACPI_ERROR((AE_INFO, "Too many duplicates in _BCL package\n"));
+ ACPI_ERROR((AE_INFO, "Too many duplicates in _BCL package"));
/* Check if the _BCL package is in a reversed order */
if (max_level == br->levels[2]) {
@@ -682,7 +682,7 @@ acpi_video_init_brightness(struct acpi_video_device *device)
acpi_video_cmp_level, NULL);
} else if (max_level != br->levels[count - 1])
ACPI_ERROR((AE_INFO,
- "Found unordered _BCL package\n"));
+ "Found unordered _BCL package"));
br->count = count;
device->brightness = br;