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
|
@ -1317,7 +1317,7 @@ static struct ds3231_data ds3231_0_data;
|
|||
#error COUNTER_MAXIM_DS3231_INIT_PRIORITY must be greater than I2C_INIT_PRIORITY
|
||||
#endif
|
||||
|
||||
DEVICE_DT_INST_DEFINE(0, ds3231_init, device_pm_control_nop, &ds3231_0_data,
|
||||
DEVICE_DT_INST_DEFINE(0, ds3231_init, NULL, &ds3231_0_data,
|
||||
&ds3231_0_config,
|
||||
POST_KERNEL, CONFIG_COUNTER_MAXIM_DS3231_INIT_PRIORITY,
|
||||
&ds3231_api);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue