drivers: can: use separate log modules for each driver
Use separate log modules for each CAN driver similar to other sub-systems/driver classes. Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
This commit is contained in:
parent
c9effd0ff9
commit
de45e8ec72
10 changed files with 23 additions and 22 deletions
|
@ -12,9 +12,9 @@
|
|||
#include <drivers/clock_control.h>
|
||||
#include <drivers/clock_control/rcar_clock_control.h>
|
||||
#include <drivers/pinctrl.h>
|
||||
|
||||
#include <logging/log.h>
|
||||
LOG_MODULE_DECLARE(can_driver, CONFIG_CAN_LOG_LEVEL);
|
||||
|
||||
LOG_MODULE_REGISTER(can_rcar, CONFIG_CAN_LOG_LEVEL);
|
||||
|
||||
#include "can_utils.h"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue