drivers: i2s: 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
a8245f78a1
commit
c650523870
4 changed files with 4 additions and 4 deletions
|
@ -872,7 +872,7 @@ static const struct i2s_driver_api i2s_cavs_driver_api = {
|
|||
}; \
|
||||
\
|
||||
DEVICE_DT_INST_DEFINE(n, \
|
||||
i2s_cavs_initialize, device_pm_control_nop, \
|
||||
i2s_cavs_initialize, NULL, \
|
||||
&i2s_cavs_data_##n, \
|
||||
&i2s_cavs_config_##n, \
|
||||
POST_KERNEL, CONFIG_I2S_INIT_PRIORITY, \
|
||||
|
|
|
@ -625,7 +625,7 @@ static const struct i2s_driver_api i2s_litex_driver_api = {
|
|||
.irq_config = i2s_litex_irq_config_func_##dir \
|
||||
}; \
|
||||
DEVICE_DT_DEFINE(DT_NODELABEL(i2s_##dir), i2s_litex_initialize, \
|
||||
device_pm_control_nop, &i2s_litex_data_##dir, \
|
||||
NULL, &i2s_litex_data_##dir, \
|
||||
&i2s_litex_cfg_##dir, POST_KERNEL, \
|
||||
CONFIG_I2S_INIT_PRIORITY, \
|
||||
&i2s_litex_driver_api); \
|
||||
|
|
|
@ -916,7 +916,7 @@ static struct i2s_stm32_data i2s_stm32_data_##index = { \
|
|||
I2S_DMA_CHANNEL_INIT(index, tx, TX, MEMORY, PERIPHERAL)),\
|
||||
}; \
|
||||
DEVICE_DT_DEFINE(DT_NODELABEL(i2s##index), \
|
||||
&i2s_stm32_initialize, device_pm_control_nop, \
|
||||
&i2s_stm32_initialize, NULL, \
|
||||
&i2s_stm32_data_##index, \
|
||||
&i2s_stm32_config_##index, POST_KERNEL, \
|
||||
CONFIG_I2S_INIT_PRIORITY, &i2s_stm32_driver_api); \
|
||||
|
|
|
@ -1024,6 +1024,6 @@ static struct i2s_sam_dev_data i2s0_sam_data = {
|
|||
},
|
||||
};
|
||||
|
||||
DEVICE_DT_INST_DEFINE(0, &i2s_sam_initialize, device_pm_control_nop,
|
||||
DEVICE_DT_INST_DEFINE(0, &i2s_sam_initialize, NULL,
|
||||
&i2s0_sam_data, &i2s0_sam_config, POST_KERNEL,
|
||||
CONFIG_I2S_INIT_PRIORITY, &i2s_sam_driver_api);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue