drivers: pwm: 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:
Gerard Marull-Paretas 2021-04-28 11:36:44 +02:00 committed by Anas Nashif
commit 3b18fe0af7
17 changed files with 17 additions and 18 deletions

View file

@ -386,7 +386,7 @@ static struct pwm_data pwm_nrf5_sw_0_data;
DEVICE_DT_INST_DEFINE(0,
pwm_nrf5_sw_init,
device_pm_control_nop,
NULL,
&pwm_nrf5_sw_0_data,
&pwm_nrf5_sw_0_config,
POST_KERNEL,