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:
Gerard Marull-Paretas 2021-04-28 12:07:41 +02:00 committed by Anas Nashif
commit 0efc185018
5 changed files with 5 additions and 5 deletions

View file

@ -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,
&eth_data, NULL, CONFIG_ETH_INIT_PRIORITY,
&eth_esp32_apis, ETHERNET_L2,
NET_L2_GET_CTX_TYPE(ETHERNET_L2), NET_ETH_MTU);