drivers: dma: 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
6b05c6e06e
commit
861eac31b8
11 changed files with 11 additions and 11 deletions
|
@ -410,7 +410,7 @@ static const struct dma_driver_api dw_dma_driver_api = {
|
|||
\
|
||||
DEVICE_DT_INST_DEFINE(inst, \
|
||||
&dw_dma_init, \
|
||||
device_pm_control_nop, \
|
||||
NULL, \
|
||||
&dw_dma##inst##_data, \
|
||||
&dw_dma##inst##_config, POST_KERNEL, \
|
||||
CONFIG_KERNEL_INIT_PRIORITY_DEVICE, \
|
||||
|
|
|
@ -991,7 +991,7 @@ static const struct dma_iproc_pax_cfg pax_dma_cfg = {
|
|||
|
||||
DEVICE_DT_INST_DEFINE(0,
|
||||
&dma_iproc_pax_init,
|
||||
device_pm_control_nop,
|
||||
NULL,
|
||||
&pax_dma_data,
|
||||
&pax_dma_cfg,
|
||||
POST_KERNEL,
|
||||
|
|
|
@ -1107,7 +1107,7 @@ static const struct dma_iproc_pax_cfg pax_dma_cfg = {
|
|||
|
||||
DEVICE_DT_INST_DEFINE(0,
|
||||
&dma_iproc_pax_init,
|
||||
device_pm_control_nop,
|
||||
NULL,
|
||||
&pax_dma_data,
|
||||
&pax_dma_cfg,
|
||||
POST_KERNEL,
|
||||
|
|
|
@ -454,7 +454,7 @@ struct dma_mcux_edma_data dma_data;
|
|||
/*
|
||||
* define the dma
|
||||
*/
|
||||
DEVICE_DT_INST_DEFINE(0, &dma_mcux_edma_init, device_pm_control_nop,
|
||||
DEVICE_DT_INST_DEFINE(0, &dma_mcux_edma_init, NULL,
|
||||
&dma_data, &dma_config_0, POST_KERNEL,
|
||||
CONFIG_KERNEL_INIT_PRIORITY_DEVICE, &dma_mcux_edma_api);
|
||||
|
||||
|
|
|
@ -469,7 +469,7 @@ static const struct dma_mcux_lpc_config dma_##n##_config = { \
|
|||
\
|
||||
DEVICE_DT_INST_DEFINE(n, \
|
||||
&dma_mcux_lpc_init, \
|
||||
device_pm_control_nop, \
|
||||
NULL, \
|
||||
&dma_data_##n, &dma_##n##_config,\
|
||||
POST_KERNEL, CONFIG_KERNEL_INIT_PRIORITY_DEFAULT,\
|
||||
&dma_mcux_lpc_api); \
|
||||
|
|
|
@ -234,5 +234,5 @@ static struct nios2_msgdma_dev_cfg dma0_nios2_config = {
|
|||
};
|
||||
|
||||
DEVICE_DT_INST_DEFINE(0, &nios2_msgdma0_initialize,
|
||||
device_pm_control_nop, NULL, &dma0_nios2_config, POST_KERNEL,
|
||||
NULL, NULL, &dma0_nios2_config, POST_KERNEL,
|
||||
CONFIG_KERNEL_INIT_PRIORITY_DEVICE, &nios2_msgdma_driver_api);
|
||||
|
|
|
@ -588,7 +588,7 @@ static const struct dma_pl330_config pl330_config = {
|
|||
|
||||
static struct dma_pl330_dev_data pl330_data;
|
||||
|
||||
DEVICE_DT_INST_DEFINE(0, &dma_pl330_initialize, device_pm_control_nop,
|
||||
DEVICE_DT_INST_DEFINE(0, &dma_pl330_initialize, NULL,
|
||||
&pl330_data, &pl330_config,
|
||||
POST_KERNEL, CONFIG_KERNEL_INIT_PRIORITY_DEVICE,
|
||||
&pl330_driver_api);
|
||||
|
|
|
@ -457,6 +457,6 @@ static const struct dma_driver_api dma_sam0_api = {
|
|||
.get_status = dma_sam0_get_status,
|
||||
};
|
||||
|
||||
DEVICE_DT_INST_DEFINE(0, &dma_sam0_init, device_pm_control_nop,
|
||||
DEVICE_DT_INST_DEFINE(0, &dma_sam0_init, NULL,
|
||||
&dmac_data, NULL, POST_KERNEL,
|
||||
CONFIG_KERNEL_INIT_PRIORITY_DEVICE, &dma_sam0_api);
|
||||
|
|
|
@ -362,6 +362,6 @@ static const struct sam_xdmac_dev_cfg dma0_sam_config = {
|
|||
|
||||
static struct sam_xdmac_dev_data dma0_sam_data;
|
||||
|
||||
DEVICE_DT_INST_DEFINE(0, &sam_xdmac_initialize, device_pm_control_nop,
|
||||
DEVICE_DT_INST_DEFINE(0, &sam_xdmac_initialize, NULL,
|
||||
&dma0_sam_data, &dma0_sam_config, POST_KERNEL,
|
||||
CONFIG_KERNEL_INIT_PRIORITY_DEVICE, &sam_xdmac_driver_api);
|
||||
|
|
|
@ -674,7 +674,7 @@ static struct dma_stm32_data dma_stm32_data_##index = { \
|
|||
\
|
||||
DEVICE_DT_INST_DEFINE(index, \
|
||||
&dma_stm32_init, \
|
||||
device_pm_control_nop, \
|
||||
NULL, \
|
||||
&dma_stm32_data_##index, &dma_stm32_config_##index, \
|
||||
PRE_KERNEL_1, CONFIG_KERNEL_INIT_PRIORITY_DEFAULT, \
|
||||
&dma_funcs)
|
||||
|
|
|
@ -277,7 +277,7 @@ static struct dmamux_stm32_data dmamux_stm32_data_##index; \
|
|||
\
|
||||
DEVICE_DT_INST_DEFINE(index, \
|
||||
&dmamux_stm32_init, \
|
||||
device_pm_control_nop, \
|
||||
NULL, \
|
||||
&dmamux_stm32_data_##index, &dmamux_stm32_config_##index,\
|
||||
PRE_KERNEL_1, CONFIG_KERNEL_INIT_PRIORITY_DEFAULT, \
|
||||
&dma_funcs);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue