summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRafael J. Wysocki <rjw@sisk.pl>2009-12-18 03:57:31 +0300
committerRafael J. Wysocki <rjw@sisk.pl>2009-12-18 03:57:31 +0300
commit875ab0b74e85d6801a49392447d26e0b28688d86 (patch)
tree03762971d57d0657a12a99f1a73473878c2c7ada /include
parentb8a7f3cd7e8212e5c572178ff3b5a514861036a5 (diff)
downloadlinux-875ab0b74e85d6801a49392447d26e0b28688d86.tar.xz
PM: Make the initcall_debug style timing for suspend/resume complete
Commit f2511774863487e61b56a97da07ebf8dd61d7836 (PM: Add initcall_debug style timing for suspend/resume) introduced basic timing instrumentation, needed for a scritps/bootgraph.pl equivalent or humans, but it missed the fact that bus types and device classes which haven't been switched to using struct dev_pm_ops objects yet need special handling. As a result, the suspend/resume timing information is only available for devices whose bus types or device classes use struct dev_pm_ops objects, so the majority of devices is not covered. Fix this by adding basic suspend/resume timing instrumentation for devices whose bus types and device classes still don't use struct dev_pm_ops objects for power management. To reduce code duplication move the timing code to helper functions. Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions