diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-07-30 14:34:55 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-07-30 14:34:55 +0200 |
commit | b69137a74b7a9451b3da504d1ef9ead7cb393922 (patch) | |
tree | 73b279d7fd757b92be26e5776d19ba6971139ffa /drivers/pnp | |
parent | 2c7d132a589077b31493b3ea82ac83b1f72c93e1 (diff) | |
download | op-kernel-dev-b69137a74b7a9451b3da504d1ef9ead7cb393922.zip op-kernel-dev-b69137a74b7a9451b3da504d1ef9ead7cb393922.tar.gz |
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>
Diffstat (limited to 'drivers/pnp')
0 files changed, 0 insertions, 0 deletions