From 3727d2ed721fa1326e08f07ccaa904d85bc3113a Mon Sep 17 00:00:00 2001 From: Jun Lin Date: Mon, 16 Dec 2024 16:17:20 +0800 Subject: [PATCH] driver: gpio: npcx: use CONFIG_GPIO_LOG_LEVEL This commit replaces the hard-coded log level with CONFIG_GPIO_LOG_LEVEL. Signed-off-by: Jun Lin --- drivers/gpio/gpio_npcx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpio/gpio_npcx.c b/drivers/gpio/gpio_npcx.c index 9bdc3c5a08a..6c614b2e858 100644 --- a/drivers/gpio/gpio_npcx.c +++ b/drivers/gpio/gpio_npcx.c @@ -17,7 +17,7 @@ #include "soc_miwu.h" #include -LOG_MODULE_REGISTER(gpio_npcx, LOG_LEVEL_ERR); +LOG_MODULE_REGISTER(gpio_npcx, CONFIG_GPIO_LOG_LEVEL); /* GPIO module instances */ #define NPCX_GPIO_DEV(inst) DEVICE_DT_INST_GET(inst),