drivers: watchdog: 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:15 +02:00 committed by Anas Nashif
commit 621d1d45f2
16 changed files with 16 additions and 16 deletions

View file

@ -349,7 +349,7 @@ static const struct wdt_npcx_config wdt_npcx_cfg_0 = {
static struct wdt_npcx_data wdt_npcx_data_0;
DEVICE_DT_INST_DEFINE(0, wdt_npcx_init, device_pm_control_nop,
DEVICE_DT_INST_DEFINE(0, wdt_npcx_init, NULL,
&wdt_npcx_data_0, &wdt_npcx_cfg_0,
PRE_KERNEL_1,
CONFIG_KERNEL_INIT_PRIORITY_DEFAULT,