Skip to content

Commit db9b6d8

Browse files
committed
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 <[email protected]> Acked-by: Borislav Petkov <[email protected]>
1 parent aa3a522 commit db9b6d8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/acpi/power.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1004,7 +1004,7 @@ void acpi_resume_power_resources(void)
10041004

10051005
if (state == ACPI_POWER_RESOURCE_STATE_OFF
10061006
&& resource->ref_count) {
1007-
dev_info(&resource->device.dev, "Turning ON\n");
1007+
dev_dbg(&resource->device.dev, "Turning ON\n");
10081008
__acpi_power_on(resource);
10091009
}
10101010

@@ -1034,7 +1034,7 @@ void acpi_turn_off_unused_power_resources(void)
10341034
*/
10351035
if (!resource->ref_count &&
10361036
resource->state != ACPI_POWER_RESOURCE_STATE_OFF) {
1037-
dev_info(&resource->device.dev, "Turning OFF\n");
1037+
dev_dbg(&resource->device.dev, "Turning OFF\n");
10381038
__acpi_power_off(resource);
10391039
}
10401040

0 commit comments

Comments
 (0)