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
|
@ -405,6 +405,6 @@ const struct lis2dw12_device_config lis2dw12_cfg = {
|
|||
|
||||
struct lis2dw12_data lis2dw12_data;
|
||||
|
||||
DEVICE_DT_INST_DEFINE(0, lis2dw12_init, device_pm_control_nop,
|
||||
DEVICE_DT_INST_DEFINE(0, lis2dw12_init, NULL,
|
||||
&lis2dw12_data, &lis2dw12_cfg, POST_KERNEL,
|
||||
CONFIG_SENSOR_INIT_PRIORITY, &lis2dw12_driver_api);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue