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
|
@ -797,7 +797,7 @@ static int lsm6dso_init(const struct device *dev)
|
|||
#define LSM6DSO_DEVICE_INIT(inst) \
|
||||
DEVICE_DT_INST_DEFINE(inst, \
|
||||
lsm6dso_init, \
|
||||
device_pm_control_nop, \
|
||||
NULL, \
|
||||
&lsm6dso_data_##inst, \
|
||||
&lsm6dso_config_##inst, \
|
||||
POST_KERNEL, \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue