From 26bca11dc8a17ce0de7098281772c2d4168da40b Mon Sep 17 00:00:00 2001 From: Gerard Marull-Paretas Date: Wed, 28 Apr 2021 11:31:21 +0200 Subject: [PATCH] drivers: pm_cpu_ops: 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/pm_cpu_ops/pm_cpu_ops_psci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pm_cpu_ops/pm_cpu_ops_psci.c b/drivers/pm_cpu_ops/pm_cpu_ops_psci.c index f09927ae77c..0fc85acb0a9 100644 --- a/drivers/pm_cpu_ops/pm_cpu_ops_psci.c +++ b/drivers/pm_cpu_ops/pm_cpu_ops_psci.c @@ -146,6 +146,6 @@ static int psci_init(const struct device *dev) return psci_detect(); } -DEVICE_DT_INST_DEFINE(0, psci_init, device_pm_control_nop, +DEVICE_DT_INST_DEFINE(0, psci_init, NULL, &psci_data, NULL, PRE_KERNEL_1, CONFIG_KERNEL_INIT_PRIORITY_DEVICE, NULL);