PM: wakeup: Show statistics for deleted wakeup sources again
authorzhuguangqing <zhuguangqing@xiaomi.com>
Mon, 9 Dec 2019 09:35:23 +0000 (17:35 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 20 Dec 2019 09:02:38 +0000 (10:02 +0100)
commite976eb4b91e906f20ec25b20c152d53c472fc3fd
tree8a6a658da38fc8c13c447a707b1d9ee967538fc8
parent2a2ef473cc9111b0d21ce18f49cb34d93d6991ad
PM: wakeup: Show statistics for deleted wakeup sources again

After commit 00ee22c28915 (PM / wakeup: Use seq_open() to show wakeup
stats), print_wakeup_source_stats(m, &deleted_ws) is not called from
wakeup_sources_stats_seq_show() any more.

Because deleted_ws is one of the wakeup sources, it should be shown
too, so add it to the end of all other wakeup sources.

Signed-off-by: zhuguangqing <zhuguangqing@xiaomi.com>
[ rjw: Subject & changelog ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/base/power/wakeup.c