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

@ -278,6 +278,6 @@ static int wdt_sam0_init(const struct device *dev)
static struct wdt_sam0_dev_data wdt_sam0_data;
DEVICE_DT_INST_DEFINE(0, wdt_sam0_init, device_pm_control_nop,
DEVICE_DT_INST_DEFINE(0, wdt_sam0_init, NULL,
&wdt_sam0_data, NULL, PRE_KERNEL_1,
CONFIG_KERNEL_INIT_PRIORITY_DEVICE, &wdt_sam0_api);