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
|
@ -352,7 +352,7 @@ static const struct leuart_gecko_config leuart_gecko_0_config = {
|
|||
static struct leuart_gecko_data leuart_gecko_0_data;
|
||||
|
||||
DEVICE_DT_INST_DEFINE(0, &leuart_gecko_init,
|
||||
device_pm_control_nop, &leuart_gecko_0_data,
|
||||
NULL, &leuart_gecko_0_data,
|
||||
&leuart_gecko_0_config, PRE_KERNEL_1,
|
||||
CONFIG_KERNEL_INIT_PRIORITY_DEVICE,
|
||||
&leuart_gecko_driver_api);
|
||||
|
@ -405,7 +405,7 @@ static const struct leuart_gecko_config leuart_gecko_1_config = {
|
|||
static struct leuart_gecko_data leuart_gecko_1_data;
|
||||
|
||||
DEVICE_DT_INST_DEFINE(1, &leuart_gecko_init,
|
||||
device_pm_control_nop, &leuart_gecko_1_data,
|
||||
NULL, &leuart_gecko_1_data,
|
||||
&leuart_gecko_1_config, PRE_KERNEL_1,
|
||||
CONFIG_KERNEL_INIT_PRIORITY_DEVICE,
|
||||
&leuart_gecko_driver_api);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue