drivers: wifi: 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
621d1d45f2
commit
0efc185018
5 changed files with 5 additions and 5 deletions
|
@ -1155,7 +1155,7 @@ error:
|
|||
return ret;
|
||||
}
|
||||
|
||||
NET_DEVICE_DT_INST_OFFLOAD_DEFINE(0, esp_init, device_pm_control_nop,
|
||||
NET_DEVICE_DT_INST_OFFLOAD_DEFINE(0, esp_init, NULL,
|
||||
&esp_driver_data, NULL,
|
||||
CONFIG_WIFI_INIT_PRIORITY, &esp_api,
|
||||
ESP_MTU);
|
||||
|
|
|
@ -178,7 +178,7 @@ static const struct ethernet_api eth_esp32_apis = {
|
|||
};
|
||||
|
||||
NET_DEVICE_DT_INST_DEFINE(0,
|
||||
eth_esp32_dev_init, device_pm_control_nop,
|
||||
eth_esp32_dev_init, NULL,
|
||||
ð_data, NULL, CONFIG_ETH_INIT_PRIORITY,
|
||||
ð_esp32_apis, ETHERNET_L2,
|
||||
NET_L2_GET_CTX_TYPE(ETHERNET_L2), NET_ETH_MTU);
|
||||
|
|
|
@ -689,7 +689,7 @@ static const struct net_wifi_mgmt_offload eswifi_offload_api = {
|
|||
.ap_disable = eswifi_mgmt_ap_disable,
|
||||
};
|
||||
|
||||
NET_DEVICE_DT_INST_OFFLOAD_DEFINE(0, eswifi_init, device_pm_control_nop,
|
||||
NET_DEVICE_DT_INST_OFFLOAD_DEFINE(0, eswifi_init, NULL,
|
||||
&eswifi0, NULL,
|
||||
CONFIG_WIFI_INIT_PRIORITY,
|
||||
&eswifi_offload_api,
|
||||
|
|
|
@ -283,7 +283,7 @@ static int simplelink_init(const struct device *dev)
|
|||
}
|
||||
|
||||
NET_DEVICE_OFFLOAD_INIT(simplelink, CONFIG_WIFI_SIMPLELINK_NAME,
|
||||
simplelink_init, device_pm_control_nop,
|
||||
simplelink_init, NULL,
|
||||
&simplelink_data, NULL,
|
||||
CONFIG_WIFI_INIT_PRIORITY, &simplelink_api,
|
||||
CONFIG_WIFI_SIMPLELINK_MAX_PACKET_SIZE);
|
||||
|
|
|
@ -1167,6 +1167,6 @@ static int winc1500_init(const struct device *dev)
|
|||
}
|
||||
|
||||
NET_DEVICE_OFFLOAD_INIT(winc1500, CONFIG_WIFI_WINC1500_NAME,
|
||||
winc1500_init, device_pm_control_nop, &w1500_data, NULL,
|
||||
winc1500_init, NULL, &w1500_data, NULL,
|
||||
CONFIG_WIFI_INIT_PRIORITY, &winc1500_api,
|
||||
CONFIG_WIFI_WINC1500_MAX_PACKET_SIZE);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue