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:
parent
27ed0fa0c5
commit
faeaea112e
16 changed files with 16 additions and 16 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue