soc: arm: st_stm32: remove usage of device_pm_control_nop
If device PM is not implemented just use NULL. Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
This commit is contained in:
parent
6c7c9e2b99
commit
d9cf132903
1 changed files with 2 additions and 3 deletions
|
@ -53,6 +53,5 @@ static const struct stm32_backup_sram_config config = {
|
|||
.enr = DT_INST_CLOCKS_CELL(0, bits) },
|
||||
};
|
||||
|
||||
DEVICE_DT_INST_DEFINE(0, stm32_backup_sram_init, device_pm_control_nop,
|
||||
NULL, &config, POST_KERNEL,
|
||||
CONFIG_APPLICATION_INIT_PRIORITY, NULL);
|
||||
DEVICE_DT_INST_DEFINE(0, stm32_backup_sram_init, NULL, NULL, &config,
|
||||
POST_KERNEL, CONFIG_APPLICATION_INIT_PRIORITY, NULL);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue