commit | c8377adfa78103be5380200eb9dab764d7ca890e | [log] [tgz] |
---|---|---|
author | Tri Vo <[email protected]> | Tue Aug 06 18:48:46 2019 -0700 |
committer | Rafael J. Wysocki <[email protected]> | Wed Aug 21 00:20:40 2019 +0200 |
tree | 8d880a753b6a4ba98521dc5477229e18925195f5 | |
parent | 2434aea58e652a9fe114181ac90aa60e2f2e1b25 [diff] |
PM / wakeup: Show wakeup sources stats in sysfs Add an ID and a device pointer to 'struct wakeup_source'. Use them to to expose wakeup sources statistics in sysfs under /sys/class/wakeup/wakeup<ID>/*. Co-developed-by: Greg Kroah-Hartman <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]> Co-developed-by: Stephen Boyd <[email protected]> Signed-off-by: Stephen Boyd <[email protected]> Signed-off-by: Tri Vo <[email protected]> Tested-by: Kalesh Singh <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>