kconfig: guard usbc logging macros

Logging kconfig options should only appear when this driver is being
used.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2022-07-20 07:37:42 -04:00 committed by Carles Cufí
parent 3133666c9a
commit 554eb03cb9

View file

@ -21,8 +21,8 @@ config USBC_INIT_PRIORITY
source "drivers/usbc/tcpc/Kconfig.tcpc_stm32"
endif # USBC_TCPC_DRIVER
module = USBC
module-str = usbc
source "subsys/logging/Kconfig.template.log_config"
endif # USBC_TCPC_DRIVER