drivers: adc: 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 10:02:28 +02:00 committed by Anas Nashif
commit 510aacc45d
14 changed files with 16 additions and 16 deletions

View file

@ -329,7 +329,7 @@ static struct adc_it8xxx2_data adc_it8xxx2_data_0 = {
ADC_CONTEXT_INIT_SYNC(adc_it8xxx2_data_0, ctx),
};
DEVICE_DT_INST_DEFINE(0, adc_it8xxx2_init,
device_pm_control_nop,
NULL,
&adc_it8xxx2_data_0,
NULL, POST_KERNEL,
CONFIG_KERNEL_INIT_PRIORITY_DEVICE,