drivers: interrupt_controller: 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
ed4dd0e9bb
commit
e6170a4dbc
8 changed files with 9 additions and 9 deletions
|
@ -150,7 +150,7 @@ static const struct irq_next_level_api cavs_apis = {
|
|||
}; \
|
||||
DEVICE_DT_INST_DEFINE(n, \
|
||||
cavs_ictl_##n##_initialize, \
|
||||
device_pm_control_nop, \
|
||||
NULL, \
|
||||
&cavs_##n##_runtime, &cavs_config_##n, \
|
||||
PRE_KERNEL_1, \
|
||||
CONFIG_CAVS_ICTL_INIT_PRIORITY, &cavs_apis);\
|
||||
|
|
|
@ -143,7 +143,7 @@ static const struct irq_next_level_api dw_ictl_apis = {
|
|||
.intr_get_line_state = dw_ictl_intr_get_line_state,
|
||||
};
|
||||
|
||||
DEVICE_DT_INST_DEFINE(0, dw_ictl_initialize, device_pm_control_nop,
|
||||
DEVICE_DT_INST_DEFINE(0, dw_ictl_initialize, NULL,
|
||||
NULL, &dw_config, PRE_KERNEL_1,
|
||||
CONFIG_DW_ICTL_INIT_PRIORITY, &dw_ictl_apis);
|
||||
|
||||
|
|
|
@ -417,7 +417,7 @@ static int stm32_exti_init(const struct device *dev)
|
|||
|
||||
static struct stm32_exti_data exti_data;
|
||||
DEVICE_DT_DEFINE(EXTI_NODE, &stm32_exti_init,
|
||||
device_pm_control_nop,
|
||||
NULL,
|
||||
&exti_data, NULL,
|
||||
PRE_KERNEL_1, CONFIG_KERNEL_INIT_PRIORITY_DEVICE,
|
||||
NULL);
|
||||
|
|
|
@ -130,6 +130,6 @@ static const struct vtd_ictl_cfg vtd_ictl_cfg_0 = {
|
|||
};
|
||||
|
||||
DEVICE_DT_INST_DEFINE(0,
|
||||
vtd_ictl_init, device_pm_control_nop,
|
||||
vtd_ictl_init, NULL,
|
||||
&vtd_ictl_data_0, &vtd_ictl_cfg_0,
|
||||
PRE_KERNEL_1, CONFIG_INTEL_VTD_ICTL_INIT_PRIORITY, &vtd_api);
|
||||
|
|
|
@ -374,7 +374,7 @@ int npcx_miwu_manage_dev_callback(struct miwu_dev_callback *cb, bool set)
|
|||
\
|
||||
DEVICE_DT_INST_DEFINE(inst, \
|
||||
NPCX_MIWU_INIT_FUNC(inst), \
|
||||
device_pm_control_nop, \
|
||||
NULL, \
|
||||
NULL, &miwu_config_##inst, \
|
||||
PRE_KERNEL_1, \
|
||||
CONFIG_KERNEL_INIT_PRIORITY_OBJECTS, NULL); \
|
||||
|
|
|
@ -213,6 +213,6 @@ static int rv32m1_intmux_init(const struct device *dev)
|
|||
return 0;
|
||||
}
|
||||
|
||||
DEVICE_DT_INST_DEFINE(0, &rv32m1_intmux_init, device_pm_control_nop, NULL,
|
||||
DEVICE_DT_INST_DEFINE(0, &rv32m1_intmux_init, NULL, NULL,
|
||||
&rv32m1_intmux_cfg, PRE_KERNEL_1,
|
||||
CONFIG_RV32M1_INTMUX_INIT_PRIORITY, &rv32m1_intmux_apis);
|
||||
|
|
|
@ -411,6 +411,6 @@ static int sam0_eic_init(const struct device *dev)
|
|||
|
||||
static struct sam0_eic_data eic_data;
|
||||
DEVICE_DT_INST_DEFINE(0, sam0_eic_init,
|
||||
device_pm_control_nop, &eic_data, NULL,
|
||||
NULL, &eic_data, NULL,
|
||||
PRE_KERNEL_1, CONFIG_KERNEL_INIT_PRIORITY_DEFAULT,
|
||||
NULL);
|
||||
|
|
|
@ -155,7 +155,7 @@ const struct shared_irq_config shared_irq_config_0 = {
|
|||
struct shared_irq_runtime shared_irq_0_runtime;
|
||||
|
||||
DEVICE_DT_INST_DEFINE(0, shared_irq_initialize,
|
||||
device_pm_control_nop, &shared_irq_0_runtime,
|
||||
NULL, &shared_irq_0_runtime,
|
||||
&shared_irq_config_0, POST_KERNEL,
|
||||
CONFIG_SHARED_IRQ_INIT_PRIORITY, &api_funcs);
|
||||
|
||||
|
@ -181,7 +181,7 @@ const struct shared_irq_config shared_irq_config_1 = {
|
|||
struct shared_irq_runtime shared_irq_1_runtime;
|
||||
|
||||
DEVICE_DT_INST_DEFINE(1, shared_irq_initialize,
|
||||
device_pm_control_nop, &shared_irq_1_runtime,
|
||||
NULL, &shared_irq_1_runtime,
|
||||
&shared_irq_config_1, POST_KERNEL,
|
||||
CONFIG_SHARED_IRQ_INIT_PRIORITY, &api_funcs);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue