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:
Maureen Helm 2021-10-28 13:38:54 -05:00 committed by Anas Nashif
commit b071588265
2 changed files with 2 additions and 2 deletions

View file

@ -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)

View file

@ -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);