drivers: espi: 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
9e2f38d78e
commit
94edcb7a4e
4 changed files with 4 additions and 4 deletions
|
@ -196,7 +196,7 @@ static struct emul_espi_driver_api emul_espi_driver_api = {
|
|||
static struct espi_emul_data espi_emul_data_##n; \
|
||||
DEVICE_DT_INST_DEFINE(n, \
|
||||
&espi_emul_init, \
|
||||
device_pm_control_nop, \
|
||||
NULL, \
|
||||
&espi_emul_data_##n, \
|
||||
&espi_emul_cfg_##n, \
|
||||
POST_KERNEL, \
|
||||
|
|
|
@ -1374,7 +1374,7 @@ static const struct espi_xec_config espi_xec_config = {
|
|||
.pc_girq_id = DT_INST_PROP(0, pc_girq),
|
||||
};
|
||||
|
||||
DEVICE_DT_INST_DEFINE(0, &espi_xec_init, device_pm_control_nop,
|
||||
DEVICE_DT_INST_DEFINE(0, &espi_xec_init, NULL,
|
||||
&espi_xec_data, &espi_xec_config,
|
||||
PRE_KERNEL_2, CONFIG_ESPI_INIT_PRIORITY,
|
||||
&espi_xec_driver_api);
|
||||
|
|
|
@ -843,7 +843,7 @@ static const struct espi_npcx_config espi_npcx_config = {
|
|||
.alts_list = espi_alts,
|
||||
};
|
||||
|
||||
DEVICE_DT_INST_DEFINE(0, &espi_npcx_init, device_pm_control_nop,
|
||||
DEVICE_DT_INST_DEFINE(0, &espi_npcx_init, NULL,
|
||||
&espi_npcx_data, &espi_npcx_config,
|
||||
PRE_KERNEL_2, CONFIG_ESPI_INIT_PRIORITY,
|
||||
&espi_npcx_driver_api);
|
||||
|
|
|
@ -851,7 +851,7 @@ static const struct espi_saf_xec_config espi_saf_xec_config = {
|
|||
MCHP_SAF_FLASH_POLL_INTERVAL),
|
||||
};
|
||||
|
||||
DEVICE_DT_INST_DEFINE(0, &espi_saf_xec_init, device_pm_control_nop,
|
||||
DEVICE_DT_INST_DEFINE(0, &espi_saf_xec_init, NULL,
|
||||
&espi_saf_xec_data, &espi_saf_xec_config, POST_KERNEL,
|
||||
CONFIG_ESPI_SAF_INIT_PRIORITY, &espi_saf_xec_driver_api);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue