refactor: Move away from deprecated PM callback.

This commit is contained in:
Peter Johanson
2021-11-05 20:44:14 +00:00
committed by Pete Johanson
parent bf2fc68070
commit 4df83a9c0d
25 changed files with 41 additions and 48 deletions

View File

@@ -428,5 +428,5 @@ static struct display_driver_api il0323_driver_api = {
.set_orientation = il0323_set_orientation,
};
DEVICE_DT_INST_DEFINE(0, il0323_init, device_pm_control_nop, &il0323_driver, NULL, POST_KERNEL,
DEVICE_DT_INST_DEFINE(0, il0323_init, NULL, &il0323_driver, NULL, POST_KERNEL,
CONFIG_APPLICATION_INIT_PRIORITY, &il0323_driver_api);