drivers: ieee802154: 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
c650523870
commit
ed4dd0e9bb
10 changed files with 18 additions and 18 deletions
|
@ -1667,14 +1667,14 @@ static struct ieee802154_radio_api dwt_radio_api = {
|
|||
#define DWT_PSDU_LENGTH (127 - DWT_FCS_LENGTH)
|
||||
|
||||
#if defined(CONFIG_IEEE802154_RAW_MODE)
|
||||
DEVICE_DT_INST_DEFINE(0, dw1000_init, device_pm_control_nop,
|
||||
DEVICE_DT_INST_DEFINE(0, dw1000_init, NULL,
|
||||
&dwt_0_context, &dw1000_0_config,
|
||||
POST_KERNEL, CONFIG_IEEE802154_DW1000_INIT_PRIO,
|
||||
&dwt_radio_api);
|
||||
#else
|
||||
NET_DEVICE_DT_INST_DEFINE(0,
|
||||
dw1000_init,
|
||||
device_pm_control_nop,
|
||||
NULL,
|
||||
&dwt_0_context,
|
||||
&dw1000_0_config,
|
||||
CONFIG_IEEE802154_DW1000_INIT_PRIO,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue