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:
parent
aa1c8e2ee9
commit
a4081b66d8
32 changed files with 45 additions and 45 deletions
|
@ -440,7 +440,7 @@ static struct lpc11u6x_uart0_data uart0_data;
|
|||
|
||||
DEVICE_DT_DEFINE(DT_NODELABEL(uart0),
|
||||
&lpc11u6x_uart0_init,
|
||||
device_pm_control_nop,
|
||||
NULL,
|
||||
&uart0_data, &uart0_config,
|
||||
PRE_KERNEL_1, CONFIG_KERNEL_INIT_PRIORITY_OBJECTS,
|
||||
&uart0_api);
|
||||
|
@ -894,7 +894,7 @@ static const struct lpc11u6x_uartx_config uart_cfg_##idx = { \
|
|||
static struct lpc11u6x_uartx_data uart_data_##idx; \
|
||||
\
|
||||
DEVICE_DT_DEFINE(DT_NODELABEL(uart##idx), \
|
||||
&lpc11u6x_uartx_init, device_pm_control_nop, \
|
||||
&lpc11u6x_uartx_init, NULL, \
|
||||
&uart_data_##idx, &uart_cfg_##idx, \
|
||||
PRE_KERNEL_1, CONFIG_KERNEL_INIT_PRIORITY_OBJECTS, \
|
||||
&uartx_api)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue