Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • L linux-de
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • linux-arm
  • linux-de
  • Repository
Switch branch/tag
  • linux-de
  • drivers
  • base
  • power
  • generic_ops.c
Find file BlameHistoryPermalink
  • Ohad Ben-Cohen's avatar
    PM / Runtime: Lenient generic runtime pm callbacks · 05aa55dd
    Ohad Ben-Cohen authored Sep 09, 2010
    
    
    Allow drivers, that belong to subsystems which use the generic
    runtime pm callbacks, not to define runtime pm suspend/resume handlers,
    by implicitly assuming success in such cases.
    
    This is needed to eliminate nop handlers that would otherwise be
    necessary by drivers which enable runtime pm, but don't need
    to do anything when their devices are runtime-suspended/resumed.
    
    Signed-off-by: default avatarOhad Ben-Cohen <ohad@wizery.com>
    Acked-by: default avatarKevin Hilman <khilman@deeprootsystems.com>
    Acked-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
    Signed-off-by: default avatarRafael J. Wysocki <rjw@sisk.pl>
    05aa55dd