Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pm disable token #39256

Closed

Commits on Oct 7, 2021

  1. pm: Update device initialization for new pm API

    Update device initialization to use the special token PM_DISABLED,
    instead of NULL, to indicate when the driver does not require power
    management notifications.
    
    This commit defines PM_DISABLED as NULL to maintain backward
    compatibility.
    
    Proof of concept only, a real PR needs to update all device
    initialization references.
    
    Signed-off-by: Keith Short <keithshort@google.com>
    keith-zephyr committed Oct 7, 2021
    Configuration menu
    Copy the full SHA
    ec239ee View commit details
    Browse the repository at this point in the history
  2. device: Compile out power management when not used

    Compile out the power management structures when the caller passes in
    the special token PM_DISABLE for the pm_control_fn parameter.
    
    Signed-off-by: Keith Short <keithshort@google.com>
    keith-zephyr committed Oct 7, 2021
    Configuration menu
    Copy the full SHA
    cd83e25 View commit details
    Browse the repository at this point in the history