drivers: serial: 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 12:01:21 +02:00 committed by Anas Nashif
commit a4081b66d8
32 changed files with 45 additions and 45 deletions

View file

@ -1205,7 +1205,7 @@ static struct uart_xlnx_ps_dev_config uart_xlnx_ps_dev_cfg_##port = { \
#define UART_XLNX_PS_INIT(port) \
DEVICE_DT_INST_DEFINE(port, \
uart_xlnx_ps_init, \
device_pm_control_nop, \
NULL, \
&uart_xlnx_ps_dev_data_##port, \
&uart_xlnx_ps_dev_cfg_##port, \
PRE_KERNEL_1, CONFIG_KERNEL_INIT_PRIORITY_DEVICE, \