pm: s/PM_DEVICE_(DT_(INST))_REF/PM_DEVICE_(DT_(INST))_GET
In order to align with macros used to obtain a device reference (e.g. DEVICE_DT_GET), align the PM macros to use "GET" instead of "REF". This change should have low impact since no official release has gone out yet with the "REF" macros. Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
This commit is contained in:
parent
b6b9453d83
commit
ddc168fa78
45 changed files with 57 additions and 57 deletions
|
@ -368,7 +368,7 @@ static int pwm_nrfx_pm_action(const struct device *dev,
|
|||
}; \
|
||||
PM_DEVICE_DT_DEFINE(PWM(idx), pwm_nrfx_pm_action); \
|
||||
DEVICE_DT_DEFINE(PWM(idx), \
|
||||
pwm_nrfx_init, PM_DEVICE_DT_REF(PWM(idx)), \
|
||||
pwm_nrfx_init, PM_DEVICE_DT_GET(PWM(idx)), \
|
||||
&pwm_nrfx_##idx##_data, \
|
||||
&pwm_nrfx_##idx##config, \
|
||||
POST_KERNEL, CONFIG_KERNEL_INIT_PRIORITY_DEVICE, \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue