From 2ca00a8aef9e7e39899e31f3fa47ca8acc848f65 Mon Sep 17 00:00:00 2001 From: Gerard Marull-Paretas Date: Wed, 28 Apr 2021 11:38:14 +0200 Subject: [PATCH] drivers: regulator: 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/regulator/regulator_fixed.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/regulator/regulator_fixed.c b/drivers/regulator/regulator_fixed.c index 114e9b7f24c..f48d0831afb 100644 --- a/drivers/regulator/regulator_fixed.c +++ b/drivers/regulator/regulator_fixed.c @@ -385,7 +385,7 @@ static const struct driver_config regulator_##id##_cfg = { \ \ static struct REG_DATA_TAG(id) regulator_##id##_data; \ \ -DEVICE_DT_INST_DEFINE(id, REG_INIT(id), device_pm_control_nop, \ +DEVICE_DT_INST_DEFINE(id, REG_INIT(id), NULL, \ ®ulator_##id##_data, ®ulator_##id##_cfg, \ POST_KERNEL, CONFIG_REGULATOR_FIXED_INIT_PRIORITY, \ ®_API(id));