Skip to content
Snippets Groups Projects
Commit d690b2cd authored by Rafael J. Wysocki's avatar Rafael J. Wysocki
Browse files

PM: Provide generic subsystem-level callbacks


There are subsystems whose power management callbacks only need to
invoke the callbacks provided by device drivers.  Still, their system
sleep PM callbacks should play well with the runtime PM callbacks,
so that devices suspended at run time can be left in that state for
a system sleep transition.

Provide a set of generic PM callbacks for such subsystems and
define convenience macros for populating dev_pm_ops structures.

Signed-off-by: default avatarRafael J. Wysocki <rjw@sisk.pl>
parent 87d1b3e6
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment