From patchwork Sat Oct 30 21:08:23 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joe Perches X-Patchwork-Id: 292992 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id o9ULHVJc026151 for ; Sat, 30 Oct 2010 21:17:32 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751988Ab0J3VQa (ORCPT ); Sat, 30 Oct 2010 17:16:30 -0400 Received: from mail.perches.com ([173.55.12.10]:3722 "EHLO mail.perches.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751880Ab0J3VJ1 (ORCPT ); Sat, 30 Oct 2010 17:09:27 -0400 Received: from Joe-Laptop.home (unknown [192.168.1.162]) by mail.perches.com (Postfix) with ESMTP id A744D2436F; Sat, 30 Oct 2010 14:09:24 -0700 (PDT) From: Joe Perches To: Jiri Kosina Cc: Len Brown , linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 06/39] drivers/acpi: Update WARN uses Date: Sat, 30 Oct 2010 14:08:23 -0700 Message-Id: <5188d583646249745c87ec1e3a1850d5b9748529.1288471898.git.joe@perches.com> X-Mailer: git-send-email 1.7.3.1.g432b3.dirty In-Reply-To: References: Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Sat, 30 Oct 2010 21:17:33 +0000 (UTC) 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);