From patchwork Wed Jul 18 20:40:27 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Toshi Kani X-Patchwork-Id: 1213111 Return-Path: X-Original-To: patchwork-linux-acpi@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id 76C18DFFFD for ; Wed, 18 Jul 2012 20:46:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932164Ab2GRUqQ (ORCPT ); Wed, 18 Jul 2012 16:46:16 -0400 Received: from g1t0028.austin.hp.com ([15.216.28.35]:13363 "EHLO g1t0028.austin.hp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932103Ab2GRUqG (ORCPT ); Wed, 18 Jul 2012 16:46:06 -0400 Received: from g1t0039.austin.hp.com (g1t0039.austin.hp.com [16.236.32.45]) by g1t0028.austin.hp.com (Postfix) with ESMTP id 6E41A1C6CD; Wed, 18 Jul 2012 20:46:06 +0000 (UTC) Received: from misato.fc.hp.com (misato.fc.hp.com [16.71.12.41]) by g1t0039.austin.hp.com (Postfix) with ESMTP id D5FF034079; Wed, 18 Jul 2012 20:46:05 +0000 (UTC) From: Toshi Kani To: lenb@kernel.org, linux-acpi@vger.kernel.org Cc: linux-kernel@vger.kernel.org, bhelgaas@google.com, isimatu.yasuaki@jp.fujitsu.com, liuj97@gmail.com, srivatsa.bhat@linux.vnet.ibm.com, prarit@redhat.com, imammedo@redhat.com, vijaymohan.pandarathil@hp.com, Toshi Kani Subject: [PATCH 4/4] ACPI: Update Container hotplug messages Date: Wed, 18 Jul 2012 14:40:27 -0600 Message-Id: <1342644027-19559-5-git-send-email-toshi.kani@hp.com> X-Mailer: git-send-email 1.7.7.6 In-Reply-To: <1342644027-19559-1-git-send-email-toshi.kani@hp.com> References: <1342644027-19559-1-git-send-email-toshi.kani@hp.com> Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org Updated Container hotplug log messages with acpi_pr_() and pr_(). Signed-off-by: Toshi Kani --- drivers/acpi/container.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/acpi/container.c b/drivers/acpi/container.c index 01a986d..6672386 100644 --- a/drivers/acpi/container.c +++ b/drivers/acpi/container.c @@ -99,7 +99,7 @@ static int acpi_container_add(struct acpi_device *device) if (!device) { - printk(KERN_ERR PREFIX "device is NULL\n"); + pr_err(PREFIX "device is NULL\n"); return -EINVAL; } @@ -164,7 +164,7 @@ static void container_notify_cb(acpi_handle handle, u32 type, void *context) case ACPI_NOTIFY_BUS_CHECK: /* Fall through */ case ACPI_NOTIFY_DEVICE_CHECK: - printk(KERN_WARNING "Container driver received %s event\n", + acpi_pr_warn(handle, "Container driver received %s event\n", (type == ACPI_NOTIFY_BUS_CHECK) ? "ACPI_NOTIFY_BUS_CHECK" : "ACPI_NOTIFY_DEVICE_CHECK"); @@ -185,7 +185,7 @@ static void container_notify_cb(acpi_handle handle, u32 type, void *context) result = container_device_add(&device, handle); if (result) { - pr_warn("Failed to add container\n"); + acpi_pr_warn(handle, "Failed to add container\n"); break; }