Skip to content

drivers: pwm: Use a common initialization priority #50877

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

Merged

Conversation

nixward
Copy link
Member

@nixward nixward commented Oct 2, 2022

Tidy up PWM drivers to use a common initialization priority as per other peripheral driver types.

See:

config ADC_INIT_PRIORITY
int "ADC init priority"
default KERNEL_INIT_PRIORITY_DEVICE
help
ADC driver device initialization priority.

config CAN_INIT_PRIORITY
int "CAN driver init priority"
default KERNEL_INIT_PRIORITY_DEVICE
help
CAN driver device initialization priority.

config I2C_INIT_PRIORITY
int "Init priority"
default KERNEL_INIT_PRIORITY_DEVICE
help
I2C device driver initialization priority.

As per other peripheral driver types.

Signed-off-by: Nick Ward <[email protected]>
@nixward nixward force-pushed the pwm_drivers_common_init_priority branch from 4117bc7 to 5bd0e67 Compare October 2, 2022 11:09
@nashif nashif merged commit 0ad0af7 into zephyrproject-rtos:main Oct 3, 2022
@nixward nixward deleted the pwm_drivers_common_init_priority branch October 4, 2022 23:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants