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

Conversation

keith-zephyr
Copy link
Contributor

No description provided.

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>
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 keith-zephyr marked this pull request as draft October 7, 2021 19:50
@github-actions github-actions bot added area: ADC Analog-to-Digital Converter (ADC) area: API Changes to public APIs area: I2C area: PWM Pulse Width Modulation area: Watchdog Watchdog labels Oct 7, 2021
This was referenced Oct 7, 2021
@keith-zephyr keith-zephyr deleted the pm-disable-token branch August 5, 2022 15:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: ADC Analog-to-Digital Converter (ADC) area: API Changes to public APIs area: I2C area: PWM Pulse Width Modulation area: Watchdog Watchdog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant