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
|
@ -215,7 +215,7 @@ static const struct uart_driver_api uart_rtt_driver_api = {
|
|||
#define UART_RTT_INIT(idx, config) \
|
||||
struct uart_rtt_data uart_rtt##idx##_data; \
|
||||
\
|
||||
DEVICE_DT_DEFINE(UART_RTT(idx), uart_rtt_init, device_pm_control_nop, \
|
||||
DEVICE_DT_DEFINE(UART_RTT(idx), uart_rtt_init, NULL, \
|
||||
&uart_rtt##idx##_data, config, \
|
||||
PRE_KERNEL_2, CONFIG_KERNEL_INIT_PRIORITY_DEVICE, \
|
||||
&uart_rtt_driver_api)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue