driver: i2c: npcx: use CONFIG_I2C_LOG_LEVEL
This commit replaces the hard-coded log level with CONFIG_I2C_LOG_LEVEL. Signed-off-by: Jun Lin <CHLin56@nuvoton.com>
This commit is contained in:
parent
3727d2ed72
commit
fb4574c89c
2 changed files with 2 additions and 2 deletions
|
|
@ -76,7 +76,7 @@
|
|||
|
||||
#include <zephyr/logging/log.h>
|
||||
#include <zephyr/irq.h>
|
||||
LOG_MODULE_REGISTER(i2c_npcx, LOG_LEVEL_ERR);
|
||||
LOG_MODULE_REGISTER(i2c_npcx, CONFIG_I2C_LOG_LEVEL);
|
||||
|
||||
/* I2C controller mode */
|
||||
#define NPCX_I2C_BANK_NORMAL 0
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@
|
|||
#include <soc.h>
|
||||
|
||||
#include <zephyr/logging/log.h>
|
||||
LOG_MODULE_REGISTER(i2c_npcx_port, LOG_LEVEL_ERR);
|
||||
LOG_MODULE_REGISTER(i2c_npcx_port, CONFIG_I2C_LOG_LEVEL);
|
||||
|
||||
#include "i2c_npcx_controller.h"
|
||||
#include "i2c-priv.h"
|
||||
|
|
|
|||
Loading…
Reference in a new issue