commit | 87f29ef5bb682c96e478f25d953ab8523be3ea24 | [log] [tgz] |
---|---|---|
author | Mulin Chao <mlchao@nuvoton.com> | Tue Apr 27 02:30:19 2021 -0700 |
committer | Carles CufĂ <carles.cufi@nordicsemi.no> | Mon Jun 07 12:06:33 2021 +0200 |
tree | 9ff089bb8ffe4befa22555ad90894762a70644e8 | |
parent | b6f9d212fb1d47633b083cafd8e2ee3500cec2ea [diff] |
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: Mulin Chao <mlchao@nuvoton.com>