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:
parent
9f86020d37
commit
510aacc45d
14 changed files with 16 additions and 16 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue