drivers: dac: 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:
Gerard Marull-Paretas 2021-04-28 10:29:41 +02:00 committed by Anas Nashif
commit ed97e6d106
6 changed files with 6 additions and 6 deletions

View file

@ -111,7 +111,7 @@ static const struct dac_driver_api mcux_dac32_driver_api = {
.low_power = DT_INST_PROP(n, low_power_mode), \
}; \
\
DEVICE_DT_INST_DEFINE(n, mcux_dac32_init, device_pm_control_nop,\
DEVICE_DT_INST_DEFINE(n, mcux_dac32_init, NULL, \
&mcux_dac32_data_##n, \
&mcux_dac32_config_##n, \
POST_KERNEL, CONFIG_KERNEL_INIT_PRIORITY_DEVICE,\