ACPI / PM: Change log level of wakeup-related message
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 12 Jun 2017 20:50:24 +0000 (22:50 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 14 Jun 2017 22:55:43 +0000 (00:55 +0200)
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>
drivers/acpi/device_pm.c

index a199983390b65a057e6f4a8290a30588a2f98c77..fa7405286d716d3d226eae0aaae536f75577bf3f 100644 (file)
@@ -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;
 }