Rafael J. Wysocki 875ab0b74e 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>
2009-12-18 01:57:31 +01:00
..
2009-12-11 11:55:21 -08:00
2009-12-15 08:53:34 -08:00
2009-12-12 13:08:15 +01:00
2009-12-15 08:53:36 -08:00
2009-12-15 08:53:25 -08:00
2009-12-02 01:13:11 -08:00
2009-12-15 09:33:36 -08:00
2009-12-16 10:23:43 -08:00
2009-12-09 17:14:38 +11:00
2009-12-15 08:53:25 -08:00
2009-12-15 08:53:25 -08:00