drivers: lora: 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
233fbf44c9
commit
496cdac71d
2 changed files with 2 additions and 2 deletions
|
@ -530,6 +530,6 @@ static const struct lora_driver_api sx126x_lora_api = {
|
|||
.test_cw = sx12xx_lora_test_cw,
|
||||
};
|
||||
|
||||
DEVICE_DT_INST_DEFINE(0, &sx126x_lora_init, device_pm_control_nop, NULL,
|
||||
DEVICE_DT_INST_DEFINE(0, &sx126x_lora_init, NULL, NULL,
|
||||
NULL, POST_KERNEL, CONFIG_LORA_INIT_PRIORITY,
|
||||
&sx126x_lora_api);
|
||||
|
|
|
@ -646,6 +646,6 @@ static const struct lora_driver_api sx127x_lora_api = {
|
|||
.test_cw = sx12xx_lora_test_cw,
|
||||
};
|
||||
|
||||
DEVICE_DT_INST_DEFINE(0, &sx127x_lora_init, device_pm_control_nop, NULL,
|
||||
DEVICE_DT_INST_DEFINE(0, &sx127x_lora_init, NULL, NULL,
|
||||
NULL, POST_KERNEL, CONFIG_LORA_INIT_PRIORITY,
|
||||
&sx127x_lora_api);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue