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
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue