From aa1c8e2ee97a0ba6392c31c99751a10b1d905e3b Mon Sep 17 00:00:00 2001 From: Gerard Marull-Paretas Date: Wed, 28 Apr 2021 11:26:54 +0200 Subject: [PATCH] drivers: peci: 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/peci/peci_mchp_xec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/peci/peci_mchp_xec.c b/drivers/peci/peci_mchp_xec.c index baad06dbbea..9a2d76f74c4 100644 --- a/drivers/peci/peci_mchp_xec.c +++ b/drivers/peci/peci_mchp_xec.c @@ -398,7 +398,7 @@ static int peci_xec_init(const struct device *dev) DEVICE_DT_INST_DEFINE(0, &peci_xec_init, - device_pm_control_nop, + NULL, NULL, NULL, POST_KERNEL, CONFIG_PECI_INIT_PRIORITY, &peci_xec_driver_api);