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
|
@ -13,10 +13,9 @@
|
|||
#include <device.h>
|
||||
#include <sys/byteorder.h>
|
||||
#include <fsl_flexcan.h>
|
||||
|
||||
#define LOG_LEVEL CONFIG_CAN_LOG_LEVEL
|
||||
#include <logging/log.h>
|
||||
LOG_MODULE_REGISTER(can_mcux_flexcan);
|
||||
|
||||
LOG_MODULE_REGISTER(can_mcux_flexcan, CONFIG_CAN_LOG_LEVEL);
|
||||
|
||||
#define SP_IS_SET(inst) DT_INST_NODE_HAS_PROP(inst, sample_point) ||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue