fs: update module logging registration
All modules registered in fs subsystem uses: LOG_MODULE_REGISTER(<module>, <log level>) Lets update fs to follow same logic. Signed-off-by: Kiara Navarro <knavarro@paltatech.com>
This commit is contained in:
parent
fb71031445
commit
9207a1bcd7
@ -16,10 +16,8 @@
|
|||||||
#include <zephyr/fs/fs_sys.h>
|
#include <zephyr/fs/fs_sys.h>
|
||||||
#include <zephyr/sys/check.h>
|
#include <zephyr/sys/check.h>
|
||||||
|
|
||||||
|
|
||||||
#define LOG_LEVEL CONFIG_FS_LOG_LEVEL
|
|
||||||
#include <zephyr/logging/log.h>
|
#include <zephyr/logging/log.h>
|
||||||
LOG_MODULE_REGISTER(fs);
|
LOG_MODULE_REGISTER(fs, CONFIG_FS_LOG_LEVEL);
|
||||||
|
|
||||||
/* list of mounted file systems */
|
/* list of mounted file systems */
|
||||||
static sys_dlist_t fs_mnt_list = SYS_DLIST_STATIC_INIT(&fs_mnt_list);
|
static sys_dlist_t fs_mnt_list = SYS_DLIST_STATIC_INIT(&fs_mnt_list);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user