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

@ -330,7 +330,7 @@ static const struct uart_driver_api rv32m1_lpuart_driver_api = {
\
DEVICE_DT_INST_DEFINE(n, \
&rv32m1_lpuart_init, \
device_pm_control_nop, \
NULL, \
&rv32m1_lpuart_##n##_data, \
&rv32m1_lpuart_##n##_cfg, \
PRE_KERNEL_1, \