Skip to content

Commit 9207a1b

Browse files
sophiekovalevskykartben
authored andcommitted
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>
1 parent fb71031 commit 9207a1b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

subsys/fs/fs.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,8 @@
1616
#include <zephyr/fs/fs_sys.h>
1717
#include <zephyr/sys/check.h>
1818

19-
20-
#define LOG_LEVEL CONFIG_FS_LOG_LEVEL
2119
#include <zephyr/logging/log.h>
22-
LOG_MODULE_REGISTER(fs);
20+
LOG_MODULE_REGISTER(fs, CONFIG_FS_LOG_LEVEL);
2321

2422
/* list of mounted file systems */
2523
static sys_dlist_t fs_mnt_list = SYS_DLIST_STATIC_INIT(&fs_mnt_list);

0 commit comments

Comments
 (0)