drivers: sensor: 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
cc35750603
commit
bf7a396538
78 changed files with 79 additions and 79 deletions
|
@ -230,6 +230,6 @@ static const struct adt7420_dev_config adt7420_config = {
|
|||
#endif
|
||||
};
|
||||
|
||||
DEVICE_DT_INST_DEFINE(0, adt7420_init, device_pm_control_nop, &adt7420_driver,
|
||||
DEVICE_DT_INST_DEFINE(0, adt7420_init, NULL, &adt7420_driver,
|
||||
&adt7420_config, POST_KERNEL, CONFIG_SENSOR_INIT_PRIORITY,
|
||||
&adt7420_driver_api);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue