From d367fc73c5c9ee94c97074492f5fb9360dd10923 Mon Sep 17 00:00:00 2001 From: Jukka Rissanen Date: Thu, 29 Apr 2021 16:38:14 +0300 Subject: [PATCH] tests: net: igmp: Remove device_pm_control_nop The use of device_pm_control_nop is deprecated so remove it from the test as it will give warning in CI. Signed-off-by: Jukka Rissanen --- tests/net/igmp/src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/net/igmp/src/main.c b/tests/net/igmp/src/main.c index 7c15aa4ca9f..6037018cad8 100644 --- a/tests/net/igmp/src/main.c +++ b/tests/net/igmp/src/main.c @@ -146,7 +146,7 @@ static struct dummy_api net_test_if_api = { #define _ETH_L2_CTX_TYPE NET_L2_GET_CTX_TYPE(DUMMY_L2) NET_DEVICE_INIT(net_test_igmp, "net_test_igmp", - net_test_dev_init, device_pm_control_nop, &net_test_data, NULL, + net_test_dev_init, NULL, &net_test_data, NULL, CONFIG_KERNEL_INIT_PRIORITY_DEFAULT, &net_test_if_api, _ETH_L2_LAYER, _ETH_L2_CTX_TYPE, 127);