Re: [PATCH 2/3] ACPI / PM: Make messages in acpi_device_set_power()print device names
From: Joe Perches
Date: Sun Jul 28 2013 - 23:12:01 EST
On Mon, 2013-07-29 at 11:06 +0800, Lan Tianyu wrote:
> 2013/7/27 Rafael J. Wysocki <rjw@xxxxxxx>:
> > From: Rafael J. Wysocki <rafael.j.wysocki@xxxxxxxxx>
[]
> > 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/