From 673b44ad301b5d1073a37b3d5dd633a8ee747431 Mon Sep 17 00:00:00 2001 From: Gerard Marull-Paretas Date: Wed, 28 Apr 2021 10:37:36 +0200 Subject: [PATCH] drivers: ec_host_cmd_periph: remove usage of device_pm_control_nop device_pm_control_nop is now deprecated in favour of NULL. Signed-off-by: Gerard Marull-Paretas --- drivers/ec_host_cmd_periph/ec_host_cmd_simulator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/ec_host_cmd_periph/ec_host_cmd_simulator.c b/drivers/ec_host_cmd_periph/ec_host_cmd_simulator.c index b9cb3e84e80..74e7940dbb7 100644 --- a/drivers/ec_host_cmd_periph/ec_host_cmd_simulator.c +++ b/drivers/ec_host_cmd_periph/ec_host_cmd_simulator.c @@ -80,6 +80,6 @@ static int ec_host_cmd_sim_init(const struct device *dev) } /* Assume only one simulator */ -DEVICE_DT_INST_DEFINE(0, ec_host_cmd_sim_init, device_pm_control_nop, +DEVICE_DT_INST_DEFINE(0, ec_host_cmd_sim_init, NULL, NULL, NULL, POST_KERNEL, CONFIG_KERNEL_INIT_PRIORITY_DEVICE, &ec_host_cmd_api);