sensor: max17262: Fix CI build failure
device_pm_control_nop has been marked deprecated so we get a CI build error due to its use. Replace with NULL to fix the issue. Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
parent
2e0d95f3cd
commit
293802c407
1 changed files with 1 additions and 1 deletions
|
@ -334,7 +334,7 @@ static const struct sensor_driver_api max17262_battery_driver_api = {
|
||||||
}; \
|
}; \
|
||||||
\
|
\
|
||||||
DEVICE_DT_INST_DEFINE(n, &max17262_gauge_init, \
|
DEVICE_DT_INST_DEFINE(n, &max17262_gauge_init, \
|
||||||
device_pm_control_nop, \
|
NULL, \
|
||||||
&max17262_data_##n, \
|
&max17262_data_##n, \
|
||||||
&max17262_config_##n, POST_KERNEL, \
|
&max17262_config_##n, POST_KERNEL, \
|
||||||
CONFIG_SENSOR_INIT_PRIORITY, \
|
CONFIG_SENSOR_INIT_PRIORITY, \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue