refactor(drivers): Use proper init stage/priority.
* Avoid APPLICATION stage and use the proper earlier stage for kscan drivers.
This commit is contained in:
parent
690bc1bb44
commit
c28ef1b61e
6 changed files with 6 additions and 12 deletions
|
|
@ -465,7 +465,7 @@ static const struct kscan_driver_api kscan_matrix_api = {
|
|||
}; \
|
||||
\
|
||||
DEVICE_DT_INST_DEFINE(n, &kscan_matrix_init, NULL, &kscan_matrix_data_##n, \
|
||||
&kscan_matrix_config_##n, APPLICATION, CONFIG_APPLICATION_INIT_PRIORITY, \
|
||||
&kscan_matrix_config_##n, POST_KERNEL, CONFIG_KSCAN_INIT_PRIORITY, \
|
||||
&kscan_matrix_api);
|
||||
|
||||
DT_INST_FOREACH_STATUS_OKAY(KSCAN_MATRIX_INIT);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue