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:
Gerard Marull-Paretas 2021-04-28 11:51:35 +02:00 committed by Anas Nashif
commit bf7a396538
78 changed files with 79 additions and 79 deletions

View file

@ -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, \