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

@ -139,7 +139,7 @@ static const struct lsm303dlhc_magn_config lsm303dlhc_magn_config = {
static struct lsm303dlhc_magn_data lsm303dlhc_magn_driver;
DEVICE_DT_INST_DEFINE(0, lsm303dlhc_magn_init, device_pm_control_nop,
DEVICE_DT_INST_DEFINE(0, lsm303dlhc_magn_init, NULL,
&lsm303dlhc_magn_driver,
&lsm303dlhc_magn_config, POST_KERNEL,
CONFIG_SENSOR_INIT_PRIORITY, &lsm303dlhc_magn_driver_api);