diff mbox

[06/39] drivers/acpi: Update WARN uses

Message ID 5188d583646249745c87ec1e3a1850d5b9748529.1288471898.git.joe@perches.com (mailing list archive)
State New, archived
Headers show

Commit Message

Joe Perches Oct. 30, 2010, 9:08 p.m. UTC
None
diff mbox

Patch

diff --git a/drivers/acpi/ec.c b/drivers/acpi/ec.c
index 372ff80..d41d68e 100644
--- a/drivers/acpi/ec.c
+++ b/drivers/acpi/ec.c
@@ -818,9 +818,9 @@  static int acpi_ec_add(struct acpi_device *device)
 	device->driver_data = ec;
 
 	WARN(!request_region(ec->data_addr, 1, "EC data"),
-	     "Could not request EC data io port 0x%lx", ec->data_addr);
+	     "Could not request EC data io port 0x%lx\n", ec->data_addr);
 	WARN(!request_region(ec->command_addr, 1, "EC cmd"),
-	     "Could not request EC cmd io port 0x%lx", ec->command_addr);
+	     "Could not request EC cmd io port 0x%lx\n", ec->command_addr);
 
 	pr_info(PREFIX "GPE = 0x%lx, I/O: command/status = 0x%lx, data = 0x%lx\n",
 			  ec->gpe, ec->command_addr, ec->data_addr);