aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/sysfs.c
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2012-11-29 06:53:14 -0500
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-01-25 18:34:21 -0500
commitc628423777d9df5e48ea8c5695aacd105cf4f768 (patch)
tree5947f01a85ffe64593005f4057e08b5e10eff25f /drivers/acpi/sysfs.c
parentbf6787ebb6c811ce41bc3f3f833a04d5f8978fa8 (diff)
ACPI sysfs: remove unnecessary newline from exception
ACPI_EXCEPTION() already appends a newline, so there is no need for the invalid GPE message 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/sysfs.c')
-rw-r--r--drivers/acpi/sysfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/sysfs.c b/drivers/acpi/sysfs.c
index ea61ca9129cd..41c0504470db 100644
--- a/drivers/acpi/sysfs.c
+++ b/drivers/acpi/sysfs.c
@@ -498,7 +498,7 @@ static int get_status(u32 index, acpi_event_status *status,
498 result = acpi_get_gpe_device(index, handle); 498 result = acpi_get_gpe_device(index, handle);
499 if (result) { 499 if (result) {
500 ACPI_EXCEPTION((AE_INFO, AE_NOT_FOUND, 500 ACPI_EXCEPTION((AE_INFO, AE_NOT_FOUND,
501 "Invalid GPE 0x%x\n", index)); 501 "Invalid GPE 0x%x", index));
502 goto end; 502 goto end;
503 } 503 }
504 result = acpi_get_gpe_status(*handle, index, status); 504 result = acpi_get_gpe_status(*handle, index, status);