Skip to content

Commit

Permalink
ACPI / PM: Change log level of wakeup-related message
Browse files Browse the repository at this point in the history
Change the log level of the "System wakeup enabled/disabled by ACPI"
message in acpi_pm_device_sleep_wake() to "debug" to reduce to log
noise level.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
  • Loading branch information
Rafael J. Wysocki committed Jun 14, 2017
1 parent d438aa2 commit 190cab8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/acpi/device_pm.c
Original file line number Diff line number Diff line change
@@ -756,8 +756,8 @@ int acpi_pm_device_sleep_wake(struct device *dev, bool enable)

error = acpi_device_wakeup(adev, acpi_target_system_state(), enable);
if (!error)
dev_info(dev, "System wakeup %s by ACPI\n",
enable ? "enabled" : "disabled");
dev_dbg(dev, "System wakeup %s by ACPI\n",
enable ? "enabled" : "disabled");

return error;
}

0 comments on commit 190cab8

Please sign in to comment.