Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754535Ab3G2DL5 (ORCPT ); Sun, 28 Jul 2013 23:11:57 -0400 Received: from perches-mx.perches.com ([206.117.179.246]:33293 "EHLO labridge.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752533Ab3G2DLz (ORCPT ); Sun, 28 Jul 2013 23:11:55 -0400 Message-ID: <1375067513.2075.27.camel@joe-AO722> Subject: Re: [PATCH 2/3] ACPI / PM: Make messages in acpi_device_set_power() print device names From: Joe Perches To: Lan Tianyu Cc: "Rafael J. Wysocki" , ACPI Devel Maling List , LKML , Linux PM list , Yinghai Lu , Bjorn Helgaas , Aaron Lu , Tejun Heo , linux-ide@vger.kernel.org Date: Sun, 28 Jul 2013 20:11:53 -0700 In-Reply-To: References: <10433383.dueoNg39qi@vostro.rjw.lan> <1895563.95T8SxMegu@vostro.rjw.lan> Content-Type: text/plain; charset="ISO-8859-1" X-Mailer: Evolution 3.6.4-0ubuntu1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 955 Lines: 23 On Mon, 2013-07-29 at 11:06 +0800, Lan Tianyu wrote: > 2013/7/27 Rafael J. Wysocki : > > From: Rafael J. Wysocki [] > > drivers/acpi/device_pm.c | 22 ++++++++++------------ [] > > @@ -166,20 +166,20 @@ int acpi_device_set_power(struct acpi_de [] > > if (device->parent && (state < device->parent->power.state)) { > > - printk(KERN_WARNING PREFIX > > - "Cannot set device to a higher-powered" > > - " state than parent\n"); > > + dev_warn(&device->dev, "Cannot transition to a higher-powered " > > + "state than parent\n"); coalesce format please. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/