drivers: ethernet: 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 10:43:35 +02:00 committed by Anas Nashif
commit 27ed0fa0c5
13 changed files with 17 additions and 17 deletions

View file

@ -847,7 +847,7 @@ static const struct eth_enc28j60_config eth_enc28j60_0_config = {
};
ETH_NET_DEVICE_DT_INST_DEFINE(0,
eth_enc28j60_init, device_pm_control_nop,
eth_enc28j60_init, NULL,
&eth_enc28j60_0_runtime, &eth_enc28j60_0_config,
CONFIG_ETH_INIT_PRIORITY, &api_funcs, NET_ETH_MTU);