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
|
@ -428,6 +428,6 @@ static const struct sensor_driver_api bme680_api_funcs = {
|
|||
|
||||
static struct bme680_data bme680_data;
|
||||
|
||||
DEVICE_DT_INST_DEFINE(0, bme680_init, device_pm_control_nop, &bme680_data,
|
||||
DEVICE_DT_INST_DEFINE(0, bme680_init, NULL, &bme680_data,
|
||||
NULL, POST_KERNEL, CONFIG_SENSOR_INIT_PRIORITY,
|
||||
&bme680_api_funcs);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue