Thread (23 messages) 23 messages, 5 authors, 2013-08-01

Re: [PATCH 2/3] ACPI / PM: Make messages in acpi_device_set_power() print device names

From: Rafael J. Wysocki <hidden>
Date: 2013-07-29 12:07:46
Also in: linux-acpi, linux-ide, lkml

On Sunday, July 28, 2013 08:11:53 PM Joe Perches wrote:
On Mon, 2013-07-29 at 11:06 +0800, Lan Tianyu wrote:
quoted
2013/7/27 Rafael J. Wysocki [off-list ref]:
quoted
From: Rafael J. Wysocki <redacted>
[]
quoted
quoted
 drivers/acpi/device_pm.c |   22 ++++++++++------------
[]
quoted
quoted
@@ -166,20 +166,20 @@ int acpi_device_set_power(struct acpi_de
[]
quoted
quoted
        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.
I can, but then it'll cross the 80 columns boundary.

Thanks,
Rafael
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help