sensor: adc_cmp: npcx: use BUILD_ASSERT to check `thr-sel` value
This CL uses BUILD_ASSERT macro to check whether `thr-sel` is out of
range instead of using NPCX series definitions.
Signed-off-by:
Mulin Chao <mlchao@nuvoton.com>
Loading
Please sign in to comment