drivers: ipm: 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
00681f0241
commit
4663b07850
7 changed files with 9 additions and 9 deletions
|
@ -223,7 +223,7 @@ static const struct ipm_driver_api cavs_idc_driver_api = {
|
||||||
.set_enabled = cavs_idc_set_enabled,
|
.set_enabled = cavs_idc_set_enabled,
|
||||||
};
|
};
|
||||||
|
|
||||||
DEVICE_DT_INST_DEFINE(0, &cavs_idc_init, device_pm_control_nop,
|
DEVICE_DT_INST_DEFINE(0, &cavs_idc_init, NULL,
|
||||||
&cavs_idc_device_data, NULL,
|
&cavs_idc_device_data, NULL,
|
||||||
PRE_KERNEL_2, CONFIG_KERNEL_INIT_PRIORITY_DEFAULT,
|
PRE_KERNEL_2, CONFIG_KERNEL_INIT_PRIORITY_DEFAULT,
|
||||||
&cavs_idc_driver_api);
|
&cavs_idc_driver_api);
|
||||||
|
|
|
@ -216,7 +216,7 @@ static struct imx_mu_data imx_mu_b_data;
|
||||||
|
|
||||||
DEVICE_DT_INST_DEFINE(0,
|
DEVICE_DT_INST_DEFINE(0,
|
||||||
&imx_mu_init,
|
&imx_mu_init,
|
||||||
device_pm_control_nop,
|
NULL,
|
||||||
&imx_mu_b_data, &imx_mu_b_config,
|
&imx_mu_b_data, &imx_mu_b_config,
|
||||||
PRE_KERNEL_1, CONFIG_KERNEL_INIT_PRIORITY_DEFAULT,
|
PRE_KERNEL_1, CONFIG_KERNEL_INIT_PRIORITY_DEFAULT,
|
||||||
&imx_mu_driver_api);
|
&imx_mu_driver_api);
|
||||||
|
|
|
@ -207,7 +207,7 @@ static struct ipm_adsp_data ipm_adsp_data;
|
||||||
|
|
||||||
DEVICE_DT_INST_DEFINE(0,
|
DEVICE_DT_INST_DEFINE(0,
|
||||||
&ipm_adsp_init,
|
&ipm_adsp_init,
|
||||||
device_pm_control_nop,
|
NULL,
|
||||||
&ipm_adsp_data, &ipm_adsp_config,
|
&ipm_adsp_data, &ipm_adsp_config,
|
||||||
PRE_KERNEL_1, CONFIG_KERNEL_INIT_PRIORITY_DEFAULT,
|
PRE_KERNEL_1, CONFIG_KERNEL_INIT_PRIORITY_DEFAULT,
|
||||||
&ipm_adsp_driver_api);
|
&ipm_adsp_driver_api);
|
||||||
|
|
|
@ -174,7 +174,7 @@ static struct mcux_mailbox_data mcux_mailbox_0_data;
|
||||||
|
|
||||||
DEVICE_DT_INST_DEFINE(0,
|
DEVICE_DT_INST_DEFINE(0,
|
||||||
&mcux_mailbox_init,
|
&mcux_mailbox_init,
|
||||||
device_pm_control_nop,
|
NULL,
|
||||||
&mcux_mailbox_0_data, &mcux_mailbox_0_config,
|
&mcux_mailbox_0_data, &mcux_mailbox_0_config,
|
||||||
PRE_KERNEL_1, CONFIG_KERNEL_INIT_PRIORITY_DEFAULT,
|
PRE_KERNEL_1, CONFIG_KERNEL_INIT_PRIORITY_DEFAULT,
|
||||||
&mcux_mailbox_driver_api);
|
&mcux_mailbox_driver_api);
|
||||||
|
|
|
@ -187,7 +187,7 @@ static struct ipm_mhu_data ipm_mhu_data_0 = {
|
||||||
|
|
||||||
DEVICE_DT_INST_DEFINE(0,
|
DEVICE_DT_INST_DEFINE(0,
|
||||||
&ipm_mhu_init,
|
&ipm_mhu_init,
|
||||||
device_pm_control_nop,
|
NULL,
|
||||||
&ipm_mhu_data_0,
|
&ipm_mhu_data_0,
|
||||||
&ipm_mhu_cfg_0, PRE_KERNEL_1,
|
&ipm_mhu_cfg_0, PRE_KERNEL_1,
|
||||||
CONFIG_KERNEL_INIT_PRIORITY_DEVICE,
|
CONFIG_KERNEL_INIT_PRIORITY_DEVICE,
|
||||||
|
@ -218,7 +218,7 @@ static struct ipm_mhu_data ipm_mhu_data_1 = {
|
||||||
|
|
||||||
DEVICE_DT_INST_DEFINE(1,
|
DEVICE_DT_INST_DEFINE(1,
|
||||||
&ipm_mhu_init,
|
&ipm_mhu_init,
|
||||||
device_pm_control_nop,
|
NULL,
|
||||||
&ipm_mhu_data_1,
|
&ipm_mhu_data_1,
|
||||||
&ipm_mhu_cfg_1, PRE_KERNEL_1,
|
&ipm_mhu_cfg_1, PRE_KERNEL_1,
|
||||||
CONFIG_KERNEL_INIT_PRIORITY_DEVICE,
|
CONFIG_KERNEL_INIT_PRIORITY_DEVICE,
|
||||||
|
|
|
@ -108,7 +108,7 @@ static const struct ipm_driver_api ipm_nrf_driver_api = {
|
||||||
.set_enabled = ipm_nrf_set_enabled
|
.set_enabled = ipm_nrf_set_enabled
|
||||||
};
|
};
|
||||||
|
|
||||||
DEVICE_DT_INST_DEFINE(0, ipm_nrf_init, device_pm_control_nop, NULL, NULL,
|
DEVICE_DT_INST_DEFINE(0, ipm_nrf_init, NULL, NULL, NULL,
|
||||||
PRE_KERNEL_1, CONFIG_KERNEL_INIT_PRIORITY_DEFAULT,
|
PRE_KERNEL_1, CONFIG_KERNEL_INIT_PRIORITY_DEFAULT,
|
||||||
&ipm_nrf_driver_api);
|
&ipm_nrf_driver_api);
|
||||||
|
|
||||||
|
@ -226,7 +226,7 @@ static const struct ipm_driver_api vipm_nrf_##_idx##_driver_api = { \
|
||||||
}; \
|
}; \
|
||||||
\
|
\
|
||||||
DEVICE_DEFINE(vipm_nrf_##_idx, "IPM_"#_idx, \
|
DEVICE_DEFINE(vipm_nrf_##_idx, "IPM_"#_idx, \
|
||||||
vipm_nrf_init, device_pm_control_nop, NULL, NULL, \
|
vipm_nrf_init, NULL, NULL, NULL, \
|
||||||
PRE_KERNEL_2, CONFIG_KERNEL_INIT_PRIORITY_DEFAULT, \
|
PRE_KERNEL_2, CONFIG_KERNEL_INIT_PRIORITY_DEFAULT, \
|
||||||
&vipm_nrf_##_idx##_driver_api)
|
&vipm_nrf_##_idx##_driver_api)
|
||||||
|
|
||||||
|
|
|
@ -296,7 +296,7 @@ static const struct stm32_ipcc_mailbox_config stm32_ipcc_mailbox_0_config = {
|
||||||
|
|
||||||
DEVICE_DT_INST_DEFINE(0,
|
DEVICE_DT_INST_DEFINE(0,
|
||||||
&stm32_ipcc_mailbox_init,
|
&stm32_ipcc_mailbox_init,
|
||||||
device_pm_control_nop,
|
NULL,
|
||||||
&stm32_IPCC_data, &stm32_ipcc_mailbox_0_config,
|
&stm32_IPCC_data, &stm32_ipcc_mailbox_0_config,
|
||||||
POST_KERNEL, CONFIG_KERNEL_INIT_PRIORITY_DEFAULT,
|
POST_KERNEL, CONFIG_KERNEL_INIT_PRIORITY_DEFAULT,
|
||||||
&stm32_ipcc_mailbox_driver_api);
|
&stm32_ipcc_mailbox_driver_api);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue