summaryrefslogtreecommitdiff
path: root/drivers/acpi/power.c
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2021-06-11 19:58:48 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2021-06-16 20:48:15 +0300
commitdb9b6d87a8d4552c691c9f008a233985f41a9e4d (patch)
tree1cd8a986ee6748254953dd4f5718494478a6288d /drivers/acpi/power.c
parentaa3a522c4f41537909b2ab4da660cb0deee136e8 (diff)
downloadlinux-db9b6d87a8d4552c691c9f008a233985f41a9e4d.tar.xz
ACPI: power: Use dev_dbg() to print some messages
The messages printed by acpi_resume_power_resources() and acpi_turn_off_unused_power_resources() are not important enough to be printed with pr_info(), so use dev_dbg() instead of it to get rid of some noise in the kernel log. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Acked-by: Borislav Petkov <bp@suse.de>
Diffstat (limited to 'drivers/acpi/power.c')
-rw-r--r--drivers/acpi/power.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/acpi/power.c b/drivers/acpi/power.c
index f145f645ab06..eba7785047ca 100644
--- a/drivers/acpi/power.c
+++ b/drivers/acpi/power.c
@@ -1004,7 +1004,7 @@ void acpi_resume_power_resources(void)
if (state == ACPI_POWER_RESOURCE_STATE_OFF
&& resource->ref_count) {
- dev_info(&resource->device.dev, "Turning ON\n");
+ dev_dbg(&resource->device.dev, "Turning ON\n");
__acpi_power_on(resource);
}
@@ -1034,7 +1034,7 @@ void acpi_turn_off_unused_power_resources(void)
*/
if (!resource->ref_count &&
resource->state != ACPI_POWER_RESOURCE_STATE_OFF) {
- dev_info(&resource->device.dev, "Turning OFF\n");
+ dev_dbg(&resource->device.dev, "Turning OFF\n");
__acpi_power_off(resource);
}