drivers: display: remove usage of device_pm_control_nop

device_pm_control_nop is now deprecated in favour of NULL.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
This commit is contained in:
Gerard Marull-Paretas 2021-04-28 10:32:54 +02:00 committed by Anas Nashif
commit 6b05c6e06e
9 changed files with 9 additions and 9 deletions

View file

@ -354,7 +354,7 @@ static struct display_driver_api ls0xx_driver_api = {
.set_orientation = ls0xx_set_orientation,
};
DEVICE_DT_INST_DEFINE(0, ls0xx_init, device_pm_control_nop,
DEVICE_DT_INST_DEFINE(0, ls0xx_init, NULL,
&ls0xx_driver, NULL,
POST_KERNEL, CONFIG_APPLICATION_INIT_PRIORITY,
&ls0xx_driver_api);