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

@ -624,7 +624,7 @@ int stm32_clock_control_init(const struct device *dev)
*/
DEVICE_DT_DEFINE(DT_NODELABEL(rcc),
&stm32_clock_control_init,
device_pm_control_nop,
NULL,
NULL, NULL,
PRE_KERNEL_1,
CONFIG_CLOCK_CONTROL_STM32_DEVICE_INIT_PRIORITY,