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

@ -282,6 +282,6 @@ static const struct wdt_sifive_device_config wdt_sifive_cfg = {
.regs = DT_INST_REG_ADDR(0),
};
DEVICE_DT_INST_DEFINE(0, wdt_sifive_init, device_pm_control_nop,
DEVICE_DT_INST_DEFINE(0, wdt_sifive_init, NULL,
&wdt_sifive_data, &wdt_sifive_cfg, PRE_KERNEL_1,
CONFIG_KERNEL_INIT_PRIORITY_DEVICE, &wdt_sifive_api);