1. 06 Mar, 2010 2 commits
    • Rafael J. Wysocki's avatar
      PM: Provide generic subsystem-level callbacks · d690b2cd
      Rafael J. Wysocki authored
      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>
      d690b2cd
    • Rafael J. Wysocki's avatar
      PM / Runtime: Document power.runtime_auto and related functions · 87d1b3e6
      Rafael J. Wysocki authored
      The power.runtime_auto device flag and the helper functions
      pm_runtime_allow() and pm_runtime_forbid() used to modify it are a
      part of the run-time power management framework and therefore they
      should be described in Documentation/power/runtime_pm.txt.
      Signed-off-by: default avatarRafael J. Wysocki <rjw@sisk.pl>
      87d1b3e6
  2. 05 Mar, 2010 38 commits