drivers: clock_control: 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:
Gerard Marull-Paretas 2021-04-28 10:19:07 +02:00 committed by Anas Nashif
commit 62afdca908
17 changed files with 17 additions and 17 deletions

View file

@ -365,7 +365,7 @@ static const struct esp32_clock_config esp32_clock_config0 = {
DEVICE_DT_INST_DEFINE(0,
&clock_control_esp32_init,
device_pm_control_nop,
NULL,
NULL, &esp32_clock_config0,
PRE_KERNEL_1, CONFIG_KERNEL_INIT_PRIORITY_OBJECTS,
&clock_control_esp32_api);