Skip to content

Commit 3727d2e

Browse files
ChiHuaLkartben
authored andcommitted
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 <[email protected]>
1 parent 6064a1c commit 3727d2e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpio/gpio_npcx.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
#include "soc_miwu.h"
1818

1919
#include <zephyr/logging/log.h>
20-
LOG_MODULE_REGISTER(gpio_npcx, LOG_LEVEL_ERR);
20+
LOG_MODULE_REGISTER(gpio_npcx, CONFIG_GPIO_LOG_LEVEL);
2121

2222
/* GPIO module instances */
2323
#define NPCX_GPIO_DEV(inst) DEVICE_DT_INST_GET(inst),

0 commit comments

Comments
 (0)