drivers: modem: 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
d8de6f7b44
commit
126e1eead8
4 changed files with 4 additions and 4 deletions
|
@ -4878,6 +4878,6 @@ static struct net_if_api api_funcs = {
|
|||
.init = offload_iface_init,
|
||||
};
|
||||
|
||||
NET_DEVICE_DT_INST_OFFLOAD_DEFINE(0, hl7800_init, device_pm_control_nop, &ictx,
|
||||
NET_DEVICE_DT_INST_OFFLOAD_DEFINE(0, hl7800_init, NULL, &ictx,
|
||||
NULL, CONFIG_MODEM_HL7800_INIT_PRIORITY,
|
||||
&api_funcs, MDM_MTU);
|
||||
|
|
|
@ -1197,7 +1197,7 @@ error:
|
|||
}
|
||||
|
||||
/* Register the device with the Networking stack. */
|
||||
NET_DEVICE_DT_INST_OFFLOAD_DEFINE(0, modem_init, device_pm_control_nop,
|
||||
NET_DEVICE_DT_INST_OFFLOAD_DEFINE(0, modem_init, NULL,
|
||||
&mdata, NULL,
|
||||
CONFIG_MODEM_QUECTEL_BG9X_INIT_PRIORITY,
|
||||
&api_funcs, MDM_MAX_DATA_LENGTH);
|
||||
|
|
|
@ -2125,7 +2125,7 @@ error:
|
|||
return ret;
|
||||
}
|
||||
|
||||
NET_DEVICE_DT_INST_OFFLOAD_DEFINE(0, modem_init, device_pm_control_nop,
|
||||
NET_DEVICE_DT_INST_OFFLOAD_DEFINE(0, modem_init, NULL,
|
||||
&mdata, NULL,
|
||||
CONFIG_MODEM_UBLOX_SARA_R4_INIT_PRIORITY,
|
||||
&api_funcs,
|
||||
|
|
|
@ -1846,7 +1846,7 @@ static struct net_if_api api_funcs = {
|
|||
.init = offload_iface_init,
|
||||
};
|
||||
|
||||
NET_DEVICE_DT_INST_OFFLOAD_DEFINE(0, wncm14a2a_init, device_pm_control_nop,
|
||||
NET_DEVICE_DT_INST_OFFLOAD_DEFINE(0, wncm14a2a_init, NULL,
|
||||
&ictx, NULL,
|
||||
CONFIG_MODEM_WNCM14A2A_INIT_PRIORITY,
|
||||
&api_funcs,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue