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 <CHLin56@nuvoton.com>
This commit is contained in:
parent
6064a1cf21
commit
3727d2ed72
1 changed files with 1 additions and 1 deletions
|
|
@ -17,7 +17,7 @@
|
|||
#include "soc_miwu.h"
|
||||
|
||||
#include <zephyr/logging/log.h>
|
||||
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),
|
||||
|
|
|
|||
Loading…
Reference in a new issue