Skip to content
Commit 87f29ef5 authored by Mulin Chao's avatar Mulin Chao Committed by Carles Cufí
Browse files

driver: adc: npcx: replace constant value with DT_INST_PROP_LEN macro.



In this CL, instead of a constant value, we use the length of property
'pinctrl-0' of adc0 to indicate the number of ADC channels in different
npcx series.

Signed-off-by: default avatarMulin Chao <mlchao@nuvoton.com>
parent b6f9d212
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment