Skip to content

Commit bc98a06

Browse files
ChiHuaLkartben
authored andcommitted
driver: pwm: npcx: use CONFIG_PWM_LOG_LEVEL
This commit replaces the hard-coded log level with CONFIG_PWM_LOG_LEVEL. Signed-off-by: Jun Lin <[email protected]>
1 parent fb4574c commit bc98a06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/pwm/pwm_npcx.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
#include <zephyr/logging/log.h>
1717

18-
LOG_MODULE_REGISTER(pwm_npcx, LOG_LEVEL_ERR);
18+
LOG_MODULE_REGISTER(pwm_npcx, CONFIG_PWM_LOG_LEVEL);
1919

2020
/* 16-bit period cycles/prescaler in NPCX PWM modules */
2121
#define NPCX_PWM_MAX_PRESCALER (1UL << (16))

0 commit comments

Comments
 (0)