• R
    PM: Provide generic subsystem-level callbacks · d690b2cd
    Rafael J. Wysocki 提交于
    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: NRafael J. Wysocki <rjw@sisk.pl>
    d690b2cd
pm.h 22.3 KB