drivers: flash: 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:46:57 +02:00 committed by Anas Nashif
commit faeaea112e
16 changed files with 16 additions and 16 deletions

View file

@ -610,7 +610,7 @@ static const struct flash_esp32_dev_config flash_esp32_config = {
};
DEVICE_DT_INST_DEFINE(0, flash_esp32_init,
device_pm_control_nop,
NULL,
&flash_esp32_data, &flash_esp32_config,
POST_KERNEL, CONFIG_KERNEL_INIT_PRIORITY_DEVICE,
&flash_esp32_driver_api);