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 <gerard.marull@nordicsemi.no>
This commit is contained in:
parent
3b18fe0af7
commit
2ca00a8aef
1 changed files with 1 additions and 1 deletions
|
@ -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));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue