drivers: display: Refactor drivers to use shared init priority
Refactors the remaining display drivers that didn't already use the shared driver class initialization priority configuration, CONFIG_DISPLAY_INIT_PRIORITY. Signed-off-by: Maureen Helm <maureen.helm@intel.com>
This commit is contained in:
parent
4c069b9894
commit
b071588265
2 changed files with 2 additions and 2 deletions
|
@ -260,7 +260,7 @@ DEVICE_DT_INST_DEFINE(0,
|
|||
&mcux_elcdif_init,
|
||||
NULL,
|
||||
&mcux_elcdif_data_1, &mcux_elcdif_config_1,
|
||||
POST_KERNEL, CONFIG_KERNEL_INIT_PRIORITY_DEVICE,
|
||||
POST_KERNEL, CONFIG_DISPLAY_INIT_PRIORITY,
|
||||
&mcux_elcdif_api);
|
||||
|
||||
static void mcux_elcdif_config_func_1(const struct device *dev)
|
||||
|
|
|
@ -450,4 +450,4 @@ static int mb_display_init(const struct device *dev)
|
|||
return 0;
|
||||
}
|
||||
|
||||
SYS_INIT(mb_display_init, POST_KERNEL, CONFIG_KERNEL_INIT_PRIORITY_DEVICE);
|
||||
SYS_INIT(mb_display_init, POST_KERNEL, CONFIG_DISPLAY_INIT_PRIORITY);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue