commit | b69137a74b7a9451b3da504d1ef9ead7cb393922 | [log] [tgz] |
---|---|---|
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Tue Jul 30 14:34:55 2013 +0200 |
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Tue Jul 30 14:34:55 2013 +0200 |
tree | 73b279d7fd757b92be26e5776d19ba6971139ffa | |
parent | 2c7d132a589077b31493b3ea82ac83b1f72c93e1 [diff] |
ACPI / PM: Make messages in acpi_device_set_power() print device names Modify acpi_device_set_power() so that diagnostic messages printed by it to the kernel log always contain the name of the device concerned to make it possible to identify the device that triggered the message if need be. Also replace printk(KERN_WARNING ) with dev_warn() everywhere in that function. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Reviewed-by: Aaron Lu <aaron.lu@intel.com>