PM: wakeup: Use pr_debug() for the "aborting suspend" message
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 21 May 2018 11:12:12 +0000 (13:12 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 24 May 2018 08:19:16 +0000 (10:19 +0200)
The message printed by pm_wakeup_pending() on wakeup detection is
not very useful if someone is not interested specifically in
debugging wakeup, so turn it into a pm_debug() one.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/base/power/wakeup.c

index 36bad46c7c6812594bfa4eee456fdd96bd86267e..e1322788eaee72fd7629f8bf0c4a996c7f9a1edd 100644 (file)
@@ -853,7 +853,7 @@ bool pm_wakeup_pending(void)
        spin_unlock_irqrestore(&events_lock, flags);
 
        if (ret) {
-               pr_info("PM: Wakeup pending, aborting suspend\n");
+               pr_debug("PM: Wakeup pending, aborting suspend\n");
                pm_print_active_wakeup_sources();
        }