drivers: counter: 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:23:42 +02:00 committed by Anas Nashif
commit f9928479a1
18 changed files with 18 additions and 18 deletions

View file

@ -208,5 +208,5 @@ static const struct counter_driver_api api = {
.get_value = get_value
};
DEVICE_DEFINE(counter_cmos, "CMOS", init, device_pm_control_nop, NULL, &info,
DEVICE_DEFINE(counter_cmos, "CMOS", init, NULL, NULL, &info,
POST_KERNEL, CONFIG_KERNEL_INIT_PRIORITY_DEVICE, &api);