drivers: sensor: ite_cvmp_it8xxx2: Move init priority into if check

Moves a Kconfig that appears everywhere in the wrong place so that
it is enclosed if if statment check, so it only shows for device
that have the driver enabled

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
This commit is contained in:
Jamie McCrae 2024-04-08 13:49:26 +01:00 committed by Maureen Helm
parent d9fd292f4b
commit 2ae1a978ae

View file

@ -13,14 +13,14 @@ config VCMP_IT8XXX2
it8xxx2 supports six 10-bit resolution voltage comparator
channels, and the input of each comparator comes from ADC pin.
if VCMP_IT8XXX2
config VCMP_IT8XXX2_INIT_PRIORITY
int "ITE it8xxx2 voltage comparator device instance init priority"
default SENSOR_INIT_PRIORITY
help
This option sets ITE voltage comparator device instance init priority.
if VCMP_IT8XXX2
config VCMP_IT8XXX2_WORKQUEUE
bool "ITE it8xxx2 voltage comparator threshold detection uses internal work queue"
help