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:
Gerard Marull-Paretas 2021-04-26 12:31:41 +02:00 committed by Anas Nashif
commit d9cf132903

View file

@ -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);