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

@ -170,6 +170,6 @@ static int flash_lpc_init(const struct device *dev)
return 0;
}
DEVICE_DT_INST_DEFINE(0, flash_lpc_init, device_pm_control_nop,
DEVICE_DT_INST_DEFINE(0, flash_lpc_init, NULL,
&flash_data, NULL, POST_KERNEL,
CONFIG_KERNEL_INIT_PRIORITY_DEVICE, &flash_lpc_api);