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:
parent
fdfca41e63
commit
f9928479a1
18 changed files with 18 additions and 18 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue